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

[PATCH 3/3] t9200-git-cvsexportcommit.sh: quiet down commit

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 28, 2006, 09:10 UTC
Message-ID
<11672970581666-git-send-email-normalperson@yhbt.net>
In-Reply-To
<11672970561224-git-send-email-normalperson@yhbt.net>
Also, fixed an unportable use of 'export'.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 t/t9200-git-cvsexportcommit.sh |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index ca0513b..315119a 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -14,16 +14,18 @@ then
     exit
 fi
 
-export CVSROOT=$(pwd)/cvsroot
-export CVSWORK=$(pwd)/cvswork
+CVSROOT=$(pwd)/cvsroot
+CVSWORK=$(pwd)/cvswork
+GIT_DIR=$(pwd)/.git
+export CVSROOT CVSWORK GIT_DIR
+
 rm -rf "$CVSROOT" "$CVSWORK"
 mkdir "$CVSROOT" &&
 cvs init &&
 cvs -Q co -d "$CVSWORK" . &&
-export GIT_DIR=$(pwd)/.git &&
 echo >empty &&
 git add empty &&
-git commit -a -m "Initial" 2>/dev/null ||
+git commit -q -a -m "Initial" 2>/dev/null ||
 exit 1
 
 test_expect_success \
-- 
1.4.4.3.gd4ada
Previous: Eric WongNext: Junio C Hamano
Message 4 of 6 in “quieting down git-commit (and init-db) in tests”
  1. Eric WongDec 28, 2006
  2. 1/3 t6024-recursive-merge: quiet down this testEric Wong, Dec 28, 2006
  3. 2/3 test-lib: quiet down init-db output for testsEric Wong, Dec 28, 2006
  4. 3/3 t9200-git-cvsexportcommit.sh: quiet down commitEric Wong, Dec 28, 2006
  5. Junio C HamanoDec 28, 2006
  6. Eric WongDec 28, 2006

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.