Re: [PATCH] Make git-revert & git-cherry-pick a builtin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Thursday, March 1, 2007 - 3:24 pm

Hi,

On Thu, 1 Mar 2007, Shawn O. Pearce wrote:


IIRC merge-recursive does not quit early with an exit(), rather returns 
the exit status from the main() routine. So, it would be a matter of 
making merge-recursive a builtin, separating the main() method in 
merge_recursive() and an option parsing cmd_merge_recursive(), and call it 
from revert.

I admit that I was a little too uneasy to do that, what with the object 
flags and all, but it _should_ work. After all, merge-recursive is 
_recursive_, so we had to make sure that everything was properly cleaned 
up after each iteration.


I don't mean to make it required. I mean to link git$X to it. That would 
mean that even a silly git-rev-parse dynamically links to libcurl, iff 
curl support is enabled...

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] Make git-revert & git-cherry-pick a builtin, Johannes Schindelin, (Wed Feb 28, 9:26 pm)
Re: [PATCH] Make git-revert & git-cherry-pick a builtin, Johannes Schindelin, (Thu Mar 1, 2:37 pm)
Re: [PATCH] Make git-revert & git-cherry-pick a builtin, Johannes Schindelin, (Thu Mar 1, 3:24 pm)