Code

Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2007 07:15:16 +0000 (00:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2007 07:15:16 +0000 (00:15 -0700)
* maint:
  Unquote From line from patch before comparing with given from address.
  git-cherry: Document 'limit' command-line option

Documentation/git-cherry.txt
GIT-VERSION-GEN
git-send-email.perl

index b62c97097f1d66a26767a304a59b83bca7b727ee..e6943822cd1c003d666178ea26f7b24e56ad210f 100644 (file)
@@ -53,6 +53,9 @@ OPTIONS
 <head>::
        Working branch; defaults to HEAD.
 
+<limit>::
+       Do not report commits up to (and including) limit.
+
 Author
 ------
 Written by Junio C Hamano <junkio@cox.net>
index 289c8067b507095b18fc7be60772756ff740385d..06c360b267f0d9e459e44ccaa81dd16b4384c627 100755 (executable)
@@ -43,3 +43,5 @@ test "$VN" = "$VC" || {
        echo >&2 "GIT_VERSION = $VN"
        echo "GIT_VERSION = $VN" >$GVF
 }
+
+
index eb876f88ddec315991c2634a976eca8e5b99a1ba..7c0c90bd21bbb009de81aa315bed1c947a32c423 100755 (executable)
@@ -561,7 +561,8 @@ foreach my $t (@files) {
                                        $subject = $1;
 
                                } elsif (/^(Cc|From):\s+(.*)$/) {
-                                       if ($2 eq $from) {
+                                       if (unquote_rfc2047($2) eq $from) {
+                                               $from = $2;
                                                next if ($suppress_from);
                                        }
                                        elsif ($1 eq 'From') {