aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-12-05 11:19:43 -0800
committerJunio C Hamano <gitster@pobox.com>2008-12-05 20:02:10 -0800
commit9b9f5a2258e6df611d2903d84fd8d41806ce0e00 (patch)
tree44ae4af3938c4c927319e533495a77bae20f0408
parentfe6beab7e80565dac81125aa82521f7673905ebc (diff)
downloadgit-9b9f5a2258e6df611d2903d84fd8d41806ce0e00.tar.gz
git-9b9f5a2258e6df611d2903d84fd8d41806ce0e00.tar.xz
git-am: rename apply_opt_extra file to apply-opt
All other state files use dash in their names, not underscores. Also, there is no reason to call this "extra". Drop it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-am.sh4
-rwxr-xr-xt/t4252-am-options.sh1
2 files changed, 2 insertions, 3 deletions
diff --git a/git-am.sh b/git-am.sh
index 13c02d6ad..4b157fe5d 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -250,7 +250,7 @@ else
# -s, -u, -k, --whitespace, -3, -C and -p flags are kept
# for the resuming session after a patch failure.
# -i can and must be given when resuming.
- echo " $git_apply_opt" >"$dotest/apply_opt_extra"
+ echo " $git_apply_opt" >"$dotest/apply-opt"
echo "$threeway" >"$dotest/threeway"
echo "$sign" >"$dotest/sign"
echo "$utf8" >"$dotest/utf8"
@@ -288,7 +288,7 @@ if test "$(cat "$dotest/threeway")" = t
then
threeway=t
fi
-git_apply_opt=$(cat "$dotest/apply_opt_extra")
+git_apply_opt=$(cat "$dotest/apply-opt")
if test "$(cat "$dotest/sign")" = t
then
SIGNOFF=`git var GIT_COMMITTER_IDENT | sed -e '
diff --git a/t/t4252-am-options.sh b/t/t4252-am-options.sh
index 1a1946dd9..3ab9e8e6e 100755
--- a/t/t4252-am-options.sh
+++ b/t/t4252-am-options.sh
@@ -45,7 +45,6 @@ test_expect_success 'interrupted am -C1 -p2' '
rm -rf .git/rebase-apply &&
git reset --hard initial &&
test_must_fail git am -p2 -C1 "$tm"/am-test-4-? &&
- cat .git/rebase-apply/apply_opt_extra &&
git am --skip &&
grep 3 file-1 &&
grep "^Three$" file-2