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 | Merge branch 'master' of git://repo.or.cz/git-gui (diff) | |
parent | Unquote From line from patch before comparing with given from address. (diff) | |
download | tgif-f26cacf4956b08238868b21a8eac6b5e51a17d7f.tar.xz |
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') { |