Re: [PATCH 1/2] gitweb: add patch view
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Nov 29, 2008, 16:48 UTC
- Message-ID
- <cb7bb73a0811290848j1b77fe89m66ead7cc4f5ca2bb@mail.gmail.com>
- In-Reply-To
- <200811291710.27891.jnareb@gmail.com>
Wow, I honestly didn't expect this idea to be so successful. I thought I was the only one using gitweb to send patches around, honestly 8-D
On Sat, Nov 29, 2008 at 5:10 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 12 quoted lines
> On Sat, 29 Nov 2008, Sverre Rabbelier wrote: >> >> If this does what I think it does I would be very happy with this >> feature :). Only yesterday I wanted to link someone to a patch I put >> up on repo.or.cz, but instead ended up telling them to download the >> snapshot. > > True. 'commitdiff_plain' wasn't good enough; what's more it suffers > from the same ambiguity as 'commitdiff', i.e. it is both means to > show diff _for_ a commit (perhaps selecting one of parents), and > showing diff _between_ two commits; the new 'patch' always shows > diff for a commit, or for a series of commits.
Maybe commitdiff should me renamed to just be 'diff'.
Also, I was in doubt about the name for the new view, and I did consider 'patchset' (which you mention in your email). I chose to stick with the shorter form in the end, since many people complain that gitweb already produces paths that are too long.
-- Giuseppe "Oblomov" Bilotta