GNU bug report logs - #16704
git topmost commit reauthored

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Mon, 10 Feb 2014 05:26:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16704 in the body.
You can then email your comments to 16704 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#16704; Package grep. (Mon, 10 Feb 2014 05:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Meyering <jim <at> meyering.net>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Mon, 10 Feb 2014 05:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: bug-grep <at> gnu.org
Subject: git topmost commit reauthored
Date: Sun, 9 Feb 2014 21:25:07 -0800
I pushed a patch contributed by Norihiro Tanaka (albeit with changes
made by me) and inadvertently left the "Author:" field showing my own
name rather than Norihiro's.  I have just taken the unusual step of
replacing that topmost commit with a reauthored version.  This is a
good reason for maintainers to require that all patch submissions be
sent in a form that makes preserving authorship automatic.

If you have pulled that original commit
(c28c90bc17b61e355bbad757e26a7027feb57fe1) and now
attempt to pull, you'll have trouble.

To work around it, first ensure you're on the master branch and have
no local changes:

    git checkout master

"git diff" should show no local, uncommitted changes.
Run "git log -1" to ensure that the topmost commit is not yours.

Now, run this to reset the head of master to the commit preceding the
one I changed:

    git reset --hard c5cb52ecb97af4bf052e1c1366b8eb93a54ba6a0

With that, you may once again pull without trouble.

If this all seems too complicated and you have no local changes or
branches, just re-clone.

Sorry for the inconvenience.
Jim




bug closed, send any further explanations to 16704 <at> debbugs.gnu.org and Jim Meyering <jim <at> meyering.net> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sat, 08 Mar 2014 18:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Apr 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.