Re: [PATCH] Use "" instead of "<unknown>" for placeholders

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michal Vitecek <fuf@...>
Cc: <git@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Friday, September 21, 2007 - 4:12 pm

Michal Vitecek <fuf@mageo.cz> writes:

[jc: Added Dscho back on CC: list]


Now, this breaks t6006 which needs this patch.

Looking at this patch, I am not sure if your change is really a
desirable one --- shouldn't it be removing the line itself, not
just <unknown> token?

---
 t/t6006-rev-list-format.sh |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh
index ad6d0b8..2be323c 100755
--- a/t/t6006-rev-list-format.sh
+++ b/t/t6006-rev-list-format.sh
@@ -79,9 +79,9 @@ EOF
 
 test_format encoding %e <<'EOF'
 commit 131a310eb913d107dd3c09a65d1651175898735d
-<unknown>
+
 commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
-<unknown>
+
 EOF
 
 test_format subject %s <<'EOF'
@@ -93,9 +93,9 @@ EOF
 
 test_format body %b <<'EOF'
 commit 131a310eb913d107dd3c09a65d1651175898735d
-<unknown>
+
 commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
-<unknown>
+
 EOF
 
 test_format colors %Credfoo%Cgreenbar%Cbluebaz%Cresetxyzzy <<'EOF'
@@ -121,9 +121,9 @@ test_format complex-encoding %e <<'EOF'
 commit f58db70b055c5718631e5c61528b28b12090cdea
 iso8859-1
 commit 131a310eb913d107dd3c09a65d1651175898735d
-<unknown>
+
 commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
-<unknown>
+
 EOF
 
 test_format complex-subject %s <<'EOF'
@@ -142,9 +142,9 @@ and it will be encoded in iso8859-1. We should therefore
 include an iso8859 character: 臓bueno!
 
 commit 131a310eb913d107dd3c09a65d1651175898735d
-<unknown>
+
 commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
-<unknown>
+
 EOF
 
 test_done
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Added a new placeholder '%cm' for full commit me..., Johannes Schindelin, (Fri Sep 21, 6:47 am)
Re: [PATCH] Added a new placeholder '%cm' for full commit me..., Johannes Schindelin, (Fri Sep 21, 7:08 am)
Re: [PATCH] Use "" instead of "<unknown>" for placeholders, Junio C Hamano, (Fri Sep 21, 4:12 pm)
Re: [PATCH] Use "" instead of "&lt;unknown&gt;" for placeholders, Johannes Schindelin, (Tue Sep 25, 6:25 am)
Re: [PATCH] Use "" instead of "&lt;unknown&gt;" for placeholders, Johannes Schindelin, (Tue Sep 25, 8:46 am)
Re: [PATCH] Use "" instead of "&lt;unknown&gt;" for placeholders, Johannes Schindelin, (Fri Sep 21, 4:41 pm)