Skip to content

Commit ad1670a

Browse files
committed
update-mail-to-commit-notes.sh: fix incorrect variable name
In b6d1ca5 (scripts: make shell scripts generic with new vars, 2022-01-19), the error messages were made more generic by abstracting the concrete URLs into variables. However, in one instance, the variable name was misspelled. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent a798e95 commit ad1670a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/update-mail-to-commit-notes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ git_remote="${GITGIT_GIT_REMOTE:-https://github.com/gitgitgadget/git}"
2121
update_gitgit_dir () {
2222
test -d "$GITGIT_DIR" ||
2323
git clone $git_remote "$GITGIT_DIR" ||
24-
die "Could not clone $gitremote to $GITGIT_DIR"
24+
die "Could not clone $git_remote to $GITGIT_DIR"
2525

2626
git -C "$GITGIT_DIR" fetch $git_remote \
2727
refs/notes/mail-to-commit:refs/notes/mail-to-commit ||

0 commit comments

Comments
 (0)