chiark / gitweb /
Fix the t0001-subdir-branches.sh test
authorCatalin Marinas <catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:16:26 +0000 (13:16 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:16:26 +0000 (13:16 +0100)
It was using 'stg add <file>' without any patches applied. This now fails.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
t/t0001-subdir-branches.sh

index e464436c3e564cbf53543aa7c06751880f80990b..fac6339102ae458959455014f0e049914a11afa9 100644 (file)
@@ -14,7 +14,7 @@ containing slashes (that is, branches living in a subdirectory of
 test_expect_success 'Create a patch' \
   'stg init &&
    echo "foo" > foo.txt &&
-   stg add foo.txt &&
+   git add foo.txt &&
    stg new foo -m "Add foo.txt" &&
    stg refresh'