Re: [PATCH 6/6] Add git-rewrite-commits

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <skimo@...>
Cc: <git@...>, Junio C Hamano <gitster@...>
Date: Wednesday, July 18, 2007 - 7:02 am

Hi,

On Mon, 16 Jul 2007, Sven Verdoolaege wrote:


The code suggests otherwise.

But I really have to wonder: why do you play games with TREECHANGE?  I had 
the impression that commit->parents is set appropriately by the revision 
walker, and that you do not have to do _anything_ for that to work.

Maybe the "--grep" thing does not yet.  But then you should fix it in 
revision.c.  Not in builtin-rewrite-commits.c


Why invert the meaning of a perfectly fine bit?  Because you can?  It is 
working right now, and it is not even a buglet, so what is there to fix?


Why do you test for TREECHANGE | UNINTERESTING then?


I don't understand.  What do you mean by "a commit is pruned"?  Does it 
mean that this commit was left out from the revision walk?  What does that 
have to do with TREECHANGE, which means that the parents set was modified?

Ciao,
Dscho

-
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:
[PATCH 2/6] export get_short_sha1, , (Thu Jul 12, 3:05 pm)
Re: [PATCH 3/6] Define ishex(x) in git-compat-util.h, Johannes Schindelin, (Sat Jul 14, 6:18 am)
[PATCH 6/6] Add git-rewrite-commits, , (Thu Jul 12, 3:06 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Sat Jul 14, 8:49 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sun Jul 15, 10:44 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Sun Jul 15, 8:38 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 4:04 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:17 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Thu Jul 19, 8:40 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 5:47 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:05 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 6:24 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:02 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Wed Jul 18, 8:05 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sat Jul 14, 4:15 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Junio C Hamano, (Sat Jul 14, 3:26 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sun Jul 15, 10:07 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Fri Jul 13, 4:01 am)