Page MenuHomePhabricator

Provide a username and email when running `git merge --squash`
ClosedPublic

Authored by epriestley on Oct 26 2015, 9:09 PM.
Tags
None
Referenced Files
F15359120: D14347.id34631.diff
Tue, Mar 11, 7:41 AM
F15352992: D14347.diff
Mon, Mar 10, 7:29 PM
Unknown Object (File)
Mon, Feb 24, 2:23 AM
Unknown Object (File)
Feb 14 2025, 3:48 AM
Unknown Object (File)
Feb 14 2025, 3:48 AM
Unknown Object (File)
Feb 8 2025, 11:37 PM
Unknown Object (File)
Jan 31 2025, 8:46 PM
Unknown Object (File)
Jan 28 2025, 3:51 AM
Subscribers
None

Details

Summary

Ref T182. This command should never actually generate a commit because --squash prevents that, but git seems to sometimes hit a check for username/email configuration (maybe when merging a non-fastforward?).

Give it some dummy values to placate it. This command shouldn't commit anything so these values should never actually be used.

Test Plan

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Provide a username and email when running `git merge --squash`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, Mnkras.
Mnkras edited edge metadata.
This revision is now accepted and ready to land.Oct 26 2015, 9:11 PM

I feel like a bug should be posted to git about this...

This revision was automatically updated to reflect the committed changes.