all repos — cgit @ f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa

a hyperfast web frontend for git written in c

tests: handle paths with whitespace

v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts ferry.huberts@pelagic.nl
Sun, 18 Mar 2012 11:43:49 +0100
commit

f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa

parent

e032761a5ebc3372ab0abd0c9bcd8436d89485ae

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M tests/setup.shtests/setup.sh

@@ -41,7 +41,7 @@ git add a+b

git commit -m "add a+b" git branch "1+2" fi - cd $dir + cd "$dir" } setup_repos()
M tests/t0108-patch.shtests/t0108-patch.sh

@@ -25,7 +25,7 @@ tail -1 trash/tmp | grep -e "^cgit"

' run_test 'find initial commit' ' - root=$(git --git-dir=$PWD/trash/repos/foo/.git rev-list HEAD | tail -1) + root=$(git --git-dir="$PWD/trash/repos/foo/.git" rev-list HEAD | tail -1) ' run_test 'generate patch for initial commit' '