diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-12 00:15:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-12 00:15:16 -0700 |
commit | f26cacf4956b08238868b21a8eac6b5e51a17d7f (patch) | |
tree | f49648b98ced25a8ca0162888c6b336231f75e3d | |
parent | 1924d64f6e070edf1ad1949bf2eb95d4d2451f30 (diff) | |
parent | 2cf69cf6edbaa15ed47f9c73c0eb60ce7983ba6b (diff) | |
download | git-f26cacf4956b08238868b21a8eac6b5e51a17d7f.tar.gz |
Merge branch 'maint'
* maint:
Unquote From line from patch before comparing with given from address.
git-cherry: Document 'limit' command-line option
-rw-r--r-- | Documentation/git-cherry.txt | 3 | ||||
-rwxr-xr-x | GIT-VERSION-GEN | 2 | ||||
-rwxr-xr-x | git-send-email.perl | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-cherry.txt b/Documentation/git-cherry.txt index b62c97097f..e6943822cd 100644 --- a/Documentation/git-cherry.txt +++ b/Documentation/git-cherry.txt @@ -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> diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 289c8067b5..06c360b267 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -43,3 +43,5 @@ test "$VN" = "$VC" || { echo >&2 "GIT_VERSION = $VN" echo "GIT_VERSION = $VN" >$GVF } + + diff --git a/git-send-email.perl b/git-send-email.perl index eb876f88dd..7c0c90bd21 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -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') { |