Closed Bug 1519540 Opened 5 years ago Closed 5 years ago

moz-phab rewrites patch author unexpectedly (git)

Categories

(Conduit :: moz-phab, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: zalun)

References

Details

(Keywords: conduit-triaged)

Attachments

(1 file, 1 obsolete file)

Import a patch written by somebody else, or just create one with a different author:

  git commit -am "message" --author "foo bar <foo@bar.com>"

then run e.g. moz-phab submit --upstream HEAD~ -b 123 -r somebody

This will rewrite the commit author and replace "foo bar" with whatever is in your .gitconfig.

Attachment #9036038 - Attachment is obsolete: true

Looks like it only happens with git, not with hg.

Summary: moz-phab rewrites patch author unexpectedly → moz-phab rewrites patch author unexpectedly (git)
Keywords: conduit-triaged
Priority: -- → P2

To amend a commit mozphab in a Git repository is using a git commit-tree
command. It is creating a new commit which is later rebased.
This patch provides the right author information to the git commit-tree.

Assignee: nobody → pzalewa
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: