Skip to content

Commit f26cacf

Browse files
committed
Merge branch 'maint'
* maint: Unquote From line from patch before comparing with given from address. git-cherry: Document 'limit' command-line option
2 parents 1924d64 + 2cf69cf commit f26cacf

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Documentation/git-cherry.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ OPTIONS
5353
<head>::
5454
Working branch; defaults to HEAD.
5555

56+
<limit>::
57+
Do not report commits up to (and including) limit.
58+
5659
Author
5760
------
5861
Written by Junio C Hamano <[email protected]>

GIT-VERSION-GEN

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ test "$VN" = "$VC" || {
4343
echo >&2 "GIT_VERSION = $VN"
4444
echo "GIT_VERSION = $VN" >$GVF
4545
}
46+
47+

git-send-email.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ sub send_message
561561
$subject = $1;
562562

563563
} elsif (/^(Cc|From):\s+(.*)$/) {
564-
if ($2 eq $from) {
564+
if (unquote_rfc2047($2) eq $from) {
565+
$from = $2;
565566
next if ($suppress_from);
566567
}
567568
elsif ($1 eq 'From') {

0 commit comments

Comments
 (0)