login
Header Space

 
 

Re: [FEATURE REQUEST] git-svn format-patch

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Ortman <chrisortman@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, <git@...>
Date: Tuesday, January 15, 2008 - 7:11 pm

On Tue, 15 Jan 2008, Chris Ortman wrote:


When --no-prefix is used, we should probably do:

Index: <filename>

instead of

diff --git <filename> <filename>

If nothing else, --no-prefix generates patches that git-apply can't apply 
but thinks that it should be able to because of the "diff --git" line.


Can't tell if this matters, or if this is meant to underline the Index 
line, and if we can leave some extra info after it. The source link you 
sent requires a login; is this line actually important to recognition, or 
is it just different in the generated patches?


This (putting a description of the revision at the end) would be nice in 
general for those of us who can't remember what arguments we gave to git 
diff and can't get back to them without quitting less and no longer having 
the diff.

Of course, it would take a lot of magic to get git to describe things with 
the svn revision info in a non-svn-specific command, but that may not be 
necessary if tortoise is willing to apply patches where the base revision 
is unknown. Or git-svn could just make a lot of tags like "revision 4715".

	-Daniel
*This .sig left intentionally blank*
-
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:
[FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 9:59 am)
Re: [FEATURE REQUEST] git-svn format-patch, Jean-Luc Herren, (Tue Jan 15, 4:14 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 4:30 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Daniel Barkalow, (Tue Jan 15, 10:20 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Nigel Magnay, (Tue Mar 11, 1:38 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Daniel Barkalow, (Wed Mar 12, 12:38 am)
Re: [FEATURE REQUEST] git-svn format-patch, Jan Hudec, (Tue Mar 11, 3:22 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Johannes Schindelin, (Tue Jan 15, 10:45 am)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 11:58 am)
Re: [FEATURE REQUEST] git-svn format-patch, Daniel Barkalow, (Tue Jan 15, 7:11 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 10:01 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Junio C Hamano, (Tue Jan 15, 8:19 pm)
Re: [PATCH v2] Do not show "diff --git" metainfo with --no-p..., Johannes Schindelin, (Wed Jan 16, 9:11 pm)
Re: [PATCH v2] Do not show "diff --git" metainfo with --no-p..., Johannes Schindelin, (Wed Jan 16, 9:48 pm)
Re: [PATCH v2] Do not show "diff --git" metainfo with --no-p..., Johannes Schindelin, (Thu Jan 17, 11:12 am)
Re: [PATCH v2] Do not show "diff --git" metainfo with --no-p..., Johannes Schindelin, (Wed Jan 16, 10:45 pm)
Re: [PATCH v2] Do not show "diff --git" metainfo with --no-p..., Johannes Schindelin, (Wed Jan 16, 9:54 pm)
Re: [PATCH/RFC] Do not show "diff --git" metainfo with --no-..., Johannes Schindelin, (Tue Jan 15, 9:37 pm)
Re: [PATCH/RFC] Do not show "diff --git" metainfo with --no-..., Johannes Schindelin, (Tue Jan 15, 9:53 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Pascal Obry, (Tue Jan 15, 1:10 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Johannes Schindelin, (Tue Jan 15, 12:13 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 12:23 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Johannes Schindelin, (Tue Jan 15, 12:52 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 1:07 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Johannes Schindelin, (Tue Jan 15, 1:11 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Chris Ortman, (Tue Jan 15, 3:04 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Jan Hudec, (Tue Jan 15, 4:15 pm)
Re: [FEATURE REQUEST] git-svn format-patch, Miles Bader, (Wed Jan 16, 2:41 am)
Re: [FEATURE REQUEST] git-svn format-patch, Shawn O. Pearce, (Wed Jan 16, 2:54 am)
speck-geostationary