git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t4014-format-patch: Adjust git_version regex to better handle distro changes to DEF_VER
@ 2016-10-10  2:53 Jeremy Huddleston Sequoia
  2016-10-10  3:04 ` Josh Triplett
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jeremy Huddleston Sequoia @ 2016-10-10  2:53 UTC (permalink / raw)
  To: git; +Cc: Jeremy Huddleston Sequoia, Josh Triplett, Junio C Hamano

Regressed-in: 480871e09ed2e5275b4ba16b278681e5a8c122ae
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
CC: Josh Triplett <josh@joshtriplett.org>
CC: Junio C Hamano <gitster@pobox.com>
---
 t/t4014-format-patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
index 8d90a6e..33f6940 100755
--- a/t/t4014-format-patch.sh
+++ b/t/t4014-format-patch.sh
@@ -754,7 +754,7 @@ test_expect_success 'format-patch --ignore-if-in-upstream HEAD' '
 	git format-patch --ignore-if-in-upstream HEAD
 '
 
-git_version="$(git --version | sed "s/.* //")"
+git_version="$(git --version | sed "s/git version //")"
 
 signature() {
 	printf "%s\n%s\n\n" "-- " "${1:-$git_version}"
-- 
2.10.1 (Apple Git-99)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-11 20:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10  2:53 [PATCH] t4014-format-patch: Adjust git_version regex to better handle distro changes to DEF_VER Jeremy Huddleston Sequoia
2016-10-10  3:04 ` Josh Triplett
2016-10-10  4:08   ` Jeremy Huddleston Sequoia
2016-10-10 13:10 ` Jeff King
2016-10-10 16:37   ` Jeremy Huddleston Sequoia
2016-10-10 16:46   ` Junio C Hamano
2016-10-10 16:42 ` Junio C Hamano
2016-10-10 17:01   ` Jeremy Huddleston Sequoia
2016-10-11 20:06   ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).