git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t3200 (branch): modernize style

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 20, 2013, 20:43 UTC
Message-ID
<7vwqt1dcp1.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1363782612-19260-1-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
>  Another random patch. Found it while grep'ping around.  I thought I
>  could automate my work, which would have been the case if it was
>  consistently inconsistent.  Unfortunately, it wasn't, and I ended up
>  doing a lot of manual janitorial work :|

Thanks. It would have been nicer to also fix the redirection, e.g. "cmd >target" (not "cmd > target") that appear in the first hunk, i.e. this on top (I'll squash this in myself).

 t/t3200-branch.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 3203b15..74fbba1 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -8,10 +8,10 @@ test_description='git branch assorted tests'
 . ./test-lib.sh
 
 test_expect_success 'prepare a trivial repository' '
-	echo Hello > A &&
+	echo Hello >A &&
 	git update-index --add A &&
 	git commit -m "Initial commit." &&
-	echo World >> A &&
+	echo World >>A &&
 	git update-index --add A &&
 	git commit -m "Second commit." &&
 	HEAD=$(git rev-parse --verify HEAD)'
@@ -750,7 +750,7 @@ test_expect_success 'detect misconfigured autosetuprebase (bad value)' '
 
 test_expect_success 'detect misconfigured autosetuprebase (no value)' '
 	git config --unset branch.autosetuprebase &&
-	echo "[branch] autosetuprebase" >> .git/config &&
+	echo "[branch] autosetuprebase" >>.git/config &&
 	test_must_fail git branch &&
 	git config --unset branch.autosetuprebase
 '
Previous: Ramkumar RamachandraNext: Junio C Hamano
Message 4 of 5 in “t3200 (branch): modernize style”
  1. t3200 (branch): modernize styleRamkumar Ramachandra, Mar 20, 2013
  2. Eric SunshineMar 20, 2013
  3. Ramkumar RamachandraMar 20, 2013
  4. Junio C HamanoMar 20, 2013
  5. Junio C HamanoMar 20, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.