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 e464436..fac6339 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'