From 0e418e568f4104ce1915263ae3ad66e290eebed8 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 9 Jul 2010 09:05:16 +0200 Subject: [PATCH 1/3] t0005: work around strange $? in ksh when program terminated by a signal ksh93 is known to report $? of programs that terminated by a signal as 256 + signal number instead of 128 + signal number like other POSIX compliant shells (ksh's behavior is still POSIX compliant in this regard). Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- t/t0005-signals.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/t0005-signals.sh b/t/t0005-signals.sh index 09f855af3e..93e58c00e8 100755 --- a/t/t0005-signals.sh +++ b/t/t0005-signals.sh @@ -13,6 +13,7 @@ test_expect_success 'sigchain works' ' test-sigchain >actual case "$?" in 143) true ;; # POSIX w/ SIGTERM=15 + 271) true ;; # ksh w/ SIGTERM=15 3) true ;; # Windows *) false ;; esac && From 142183d09634aa00a47107c7ffc5e39fa6cbf1b0 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Fri, 9 Jul 2010 22:27:48 +0200 Subject: [PATCH 2/3] checkout: accord documentation to what git does Signed-off-by: Nicolas Sebrecht Signed-off-by: Junio C Hamano --- Documentation/git-checkout.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 7146288ad6..7b83162223 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -238,7 +238,7 @@ the above checkout would fail like this: + ------------ $ git checkout mytopic -fatal: Entry 'frotz' not uptodate. Cannot merge. +error: You have local changes to 'frotz'; not switching branches. ------------ + You can give the `-m` flag to the command, which would try a From 5d1e34158a3023af48541bf1731d202849929a12 Mon Sep 17 00:00:00 2001 From: Fredrik Skolmli Date: Sat, 10 Jul 2010 02:00:01 +0200 Subject: [PATCH 3/3] Documentation: Spelling fix in protocol-capabilities.txt Signed-off-by: Fredrik Skolmli Signed-off-by: Junio C Hamano --- Documentation/technical/protocol-capabilities.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt index fd1a593149..b15517fa06 100644 --- a/Documentation/technical/protocol-capabilities.txt +++ b/Documentation/technical/protocol-capabilities.txt @@ -119,7 +119,7 @@ both. ofs-delta --------- -Server can send, and client understand PACKv2 with delta refering to +Server can send, and client understand PACKv2 with delta referring to its base by position in pack rather than by an obj-id. That is, they can send/read OBJ_OFS_DELTA (aka type 6) in a packfile.