Re: [RFC] gitweb TODO

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Friday, November 17, 2006 - 5:24 pm

Junio C Hamano wrote:

So we split patch for "type change" mode change for patch -p1
safety. But for gitweb more important than producing safe patch
is producing _readable_ patch[*1*]. Hence request for -T option 
(or under other, better name) to git-diff which would _not_
split patch (not create two patches for one raw difftree line).
 
[*1*] Well, as far as diff for symlink is readable anyway.


Sorry, perhaps I was not clear. I'd like for git-diff-tree --cc
--raw -p to output both raw part (perhaps taken from -c) and
patch part[*2*]. Gitweb needs raw part for both whatchanged 
and also for creating hyperlinks and gitweb quoted filenames
in the patch part (although with git diff headers buffering
and git diff extended headers parsing we could get the information
needed for hyperlinks and gitweb quoting of filenames for patch
part from patch part).

[*2*] I'm wondering why we don't have --patch long version of -p
option to git-diff[-tree].

-- 
Jakub Narebski
Poland
-
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:
[RFC] gitweb TODO, Jakub Narebski, (Fri Nov 17, 2:01 pm)
Re: [RFC] gitweb TODO, Junio C Hamano, (Fri Nov 17, 3:22 pm)
Re: [RFC] gitweb TODO, Jakub Narebski, (Fri Nov 17, 4:30 pm)
Re: [RFC] gitweb TODO, Junio C Hamano, (Fri Nov 17, 5:08 pm)
Re: [RFC] gitweb TODO, Jakub Narebski, (Fri Nov 17, 5:24 pm)
Re: [RFC] gitweb TODO, Junio C Hamano, (Fri Nov 17, 8:04 pm)