Re: Newbie: report of first experience with git-rebase.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Grimm
Date: Wednesday, October 31, 2007 - 3:06 pm

J. Bruce Fields wrote:

I've been using rebase just about every day for close to a year and it 
*still* annoys me when it happens. Especially the "Did you forget to git 
add?" part of the message. The thought that always goes through my head 
is, "No, Mr. Rebase, I did NOT forget to git add. I remembered to git 
add, then you were too stupid to do the right thing after that."

Just happened to me this morning, in fact: I had a quick hack in place 
to work around a bug, the bug got fixed for real, and I rebased. In the 
process of conflict resolution I saw that my workaround wasn't needed 
any more and accepted the upstream version of that particular part of 
the file. Ran git-add on it, then rebase --continue, and boom, was 
accused of forgetting to run git-add.

It is a minor annoyance and nowadays I just sigh a bit and run --skip 
instead, but it'd be nice if it didn't happen. I don't like having to 
care whether or not I happened to change other files in a particular 
commit after I resolve conflicts in one file in favor of the upstream 
version.

-Steve
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Newbie: report of first experience with git-rebase., Sergei Organov, (Wed Oct 31, 12:39 pm)
Re: Newbie: report of first experience with git-rebase., Sergei Organov, (Wed Oct 31, 1:28 pm)
Re: Newbie: report of first experience with git-rebase., Johannes Schindelin, (Wed Oct 31, 2:12 pm)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Wed Oct 31, 2:29 pm)
Re: Newbie: report of first experience with git-rebase., Junio C Hamano, (Wed Oct 31, 2:39 pm)
Re: Newbie: report of first experience with git-rebase., Steven Grimm, (Wed Oct 31, 3:06 pm)
Re: Newbie: report of first experience with git-rebase., Daniel Barkalow, (Wed Oct 31, 3:35 pm)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Wed Oct 31, 3:38 pm)
Re: Newbie: report of first experience with git-rebase., David Kastrup, (Wed Oct 31, 3:49 pm)
Re: Newbie: report of first experience with git-rebase., David Kastrup, (Wed Oct 31, 3:53 pm)
Re: Newbie: report of first experience with git-rebase., Nicolas Pitre, (Wed Oct 31, 7:27 pm)
Re: Newbie: report of first experience with git-rebase., Sergei Organov, (Thu Nov 1, 5:13 am)
Re: Newbie: report of first experience with git-rebase., Johannes Schindelin, (Thu Nov 1, 7:24 am)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Thu Nov 1, 8:10 am)