From 657ab61efa918f46f1b412613643d1a1bbed2194 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Mon, 29 Mar 2010 19:46:38 -0700 Subject: format-patch: Squelch 'fatal: Not a range." error Don't output an error on `git format-patch --ignore-if-in-upstream HEAD`. This matches the behavior of `git format-patch HEAD`. Signed-off-by: Kevin Ballard Signed-off-by: Junio C Hamano --- t/t4014-format-patch.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 't/t4014-format-patch.sh') diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index f2a2aaa2b9..843ef7f88c 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -557,4 +557,8 @@ test_expect_success 'format-patch -- ' ' ! grep "Use .--" error ' +test_expect_success 'format-patch --ignore-if-in-upstream HEAD' ' + git format-patch --ignore-if-in-upstream HEAD +' + test_done -- cgit v1.2.1