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

[PATCH 1/2] t9200: On MSYS, do not pass Windows-style paths to CVS

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Jan 11, 2012, 09:20 UTC
Message-ID
<4F0D544E.6010105@gmail.com>
In-Reply-To
<4F0D5367.1000506@gmail.com>

For details, see the commit message of 4114156ae9. Note that while using $PWD as part of GIT_DIR is not required here, it does no harm and it is more consistent. In addition, on MSYS using an environment variable should be slightly faster than spawning an external executable.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 t/t9200-git-cvsexportcommit.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index 41db05c..518358a 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -19,9 +19,9 @@ then
     test_done
 fi
 
-CVSROOT=$(pwd)/cvsroot
-CVSWORK=$(pwd)/cvswork
-GIT_DIR=$(pwd)/.git
+CVSROOT=$PWD/cvsroot
+CVSWORK=$PWD/cvswork
+GIT_DIR=$PWD/.git
 export CVSROOT CVSWORK GIT_DIR
 
 rm -rf "$CVSROOT" "$CVSWORK"
-- 
1.7.9.rc0.5096.g30a61
Previous: Sebastian SchuberthNext: Junio C Hamano
Message 2 of 5 in “Make t9200-git-cvsexportcommit.sh pass on MSYS”
  1. 0/2 Make t9200-git-cvsexportcommit.sh pass on MSYSSebastian Schuberth, Jan 11, 2012
  2. 1/2 t9200: On MSYS, do not pass Windows-style paths to CVSSebastian Schuberth, Jan 11, 2012
  3. Junio C HamanoJan 12, 2012
  4. 2/2 git-cvsexportcommit: Fix calling Perl's rel2abs() on MSYSSebastian Schuberth, Jan 11, 2012
  5. Pat ThoytsJan 11, 2012

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.