Skip to content

Commit 9b9f5a2

Browse files
committed
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>
1 parent fe6beab commit 9b9f5a2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

git-am.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ else
250250
# -s, -u, -k, --whitespace, -3, -C and -p flags are kept
251251
# for the resuming session after a patch failure.
252252
# -i can and must be given when resuming.
253-
echo " $git_apply_opt" >"$dotest/apply_opt_extra"
253+
echo " $git_apply_opt" >"$dotest/apply-opt"
254254
echo "$threeway" >"$dotest/threeway"
255255
echo "$sign" >"$dotest/sign"
256256
echo "$utf8" >"$dotest/utf8"
@@ -288,7 +288,7 @@ if test "$(cat "$dotest/threeway")" = t
288288
then
289289
threeway=t
290290
fi
291-
git_apply_opt=$(cat "$dotest/apply_opt_extra")
291+
git_apply_opt=$(cat "$dotest/apply-opt")
292292
if test "$(cat "$dotest/sign")" = t
293293
then
294294
SIGNOFF=`git var GIT_COMMITTER_IDENT | sed -e '

t/t4252-am-options.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ test_expect_success 'interrupted am -C1 -p2' '
4545
rm -rf .git/rebase-apply &&
4646
git reset --hard initial &&
4747
test_must_fail git am -p2 -C1 "$tm"/am-test-4-? &&
48-
cat .git/rebase-apply/apply_opt_extra &&
4948
git am --skip &&
5049
grep 3 file-1 &&
5150
grep "^Three$" file-2

0 commit comments

Comments
 (0)