From: Petr Baudis Date: Mon, 23 Oct 2006 19:33:26 GMT Subject: Re: [PATCH] git-cherry should show "+" instead of "-" and vice versa Message-ID: <20061023193326.GS20017@pasky.or.cz> In-Reply-To: <200610232003.08861.andyparkins@gmail.com> Dear diary, on Mon, Oct 23, 2006 at 09:03:08PM CEST, I got a letter where Andy Parkins said that... > In git-cherry.sh: > > if test -f "$patch/$2" > then > sign=- > else > sign=+ > fi > > Documentation says 'If the change seems to be in the upstream, it is shown on > the standard output with prefix "+"', however the above does the reverse. > When > the file $patch/$2 exists it is because the patch /is/ in upstream so the sign > should be "+". > Signed-off-by: Andy Parkins See also http://news.gmane.org/find-root.php?message_id= Did the documentation ever get fixed or noone cared enough? ;-) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i