Remove the assert in CommitData.parse() function
[stgit] / t / t2102-pull-policy-rebase.sh
index 135b48c..952ee7e 100755 (executable)
@@ -13,17 +13,17 @@ test_expect_success \
     git branch -m master parent &&
     stg init &&
     stg branch --create stack &&
-    git repo-config branch.stack.stgit.pull-policy rebase &&
-    git repo-config --list &&
+    git config branch.stack.stgit.pull-policy rebase &&
+    git config --list &&
     stg new c1 -m c1 &&
-    echo a > file && git add file && stg refresh
+    echo a > file && stg add file && stg refresh
     '
 
 test_expect_success \
     'Add non-rewinding commit in parent and pull the stack' \
     '
     stg branch parent && stg new u1 -m u1 &&
-    echo b > file2 && git add file2 && stg refresh &&
+    echo b > file2 && stg add file2 && stg refresh &&
     stg branch stack && stg pull &&
     test -e file2
     '