Renamed multiple overwritable variables to be prefixed by GIT_EXTRA_*
# Option variables
LOG_LEVEL=default
-BRANCH=extra
-EDITOR=
-MESSAGE=
-TEMPLATE=
+BRANCH=${GIT_EXTRA_BRANCH:-extra}
+EDITOR=${EDITOR:-}
+MESSAGE=${GIT_EXTRA_MESSAGE:-updated using git-extra}
+TEMPLATE=${GIT_EXTRA_TEMPLATE:-}
# helper variables
LONG_OUTPUT=false
git update-index --add --cacheinfo 100644 "$hash" "$2"
tree_hash=$(git write-tree)
- commit_hash=$(git commit-tree -m "${MESSAGE:-updated using git-extra}" -p "$PREV_COMMIT" "$tree_hash")
+ commit_hash=$(git commit-tree -m "$MESSAGE" -p "$PREV_COMMIT" "$tree_hash")
git update-ref "refs/heads/$BRANCH" "$commit_hash"
--- /dev/null
+(specifications->manifest (list "bash"
+ "coreutils"
+ "debianutils"
+ "grep"
+ "make"
+ "shellcheck"))