-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mailinfo: feed only one line to handle_filter() for QP input
The function is intended to be fed one logical line at a time to inspect, but a QP encoded raw input line can have more than one lines, just like BASE64 encoded one. Quoting LF as =0A may be unusual but RFC2045 allows it. The issue was noticed and fixed by Jay Soffian. JC added a test to protect the fix from regressing later. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information
Jay Soffian
authored and
Junio C Hamano
committed
Feb 16, 2008
1 parent
b20a60d
commit 87f1b88
Showing
6 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Author: F U Bar | ||
Email: f.u.bar@example.com | ||
Subject: updates | ||
Date: Mon, 17 Sep 2001 00:00:00 +0900 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This is to fix diff-format documentation. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt | ||
index b426a14..97756ec 100644 | ||
--- a/Documentation/diff-format.txt | ||
+++ b/Documentation/diff-format.txt | ||
@@ -81,7 +81,7 @@ The "diff" formatting options can be customized via the | ||
environment variable 'GIT_DIFF_OPTS'. For example, if you | ||
prefer context diff: | ||
|
||
- GIT_DIFF_OPTS=-c git-diff-index -p $(cat .git/HEAD) | ||
+ GIT_DIFF_OPTS=-c git-diff-index -p HEAD | ||
|
||
|
||
2. When the environment variable 'GIT_EXTERNAL_DIFF' is set, the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters