summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe6beab)
raw | patch | inline | side by side (parent: fe6beab)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 5 Dec 2008 19:19:43 +0000 (11:19 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 6 Dec 2008 04:02:10 +0000 (20:02 -0800) |
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>
Also, there is no reason to call this "extra". Drop it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | patch | blob | history | |
t/t4252-am-options.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 13c02d6adecdc469aa8e02a758c2c3e7aef0306a..4b157fe5d536fdbdbf85e0e06c419b5927a90867 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
# -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"
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 1a1946dd97659a6e8c3c70075721391ee7490938..3ab9e8e6e3635ce54b19cec7987ab976fd994309 100755 (executable)
--- a/t/t4252-am-options.sh
+++ b/t/t4252-am-options.sh
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