We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9048a06 commit c6664deCopy full SHA for c6664de
src/git-split-file.sh
@@ -102,7 +102,8 @@ declare -i g_iErrorCount=0
102
readonly g_sBranchPrefix='split-file'
103
readonly g_sColorDim=$(tput dim)
104
readonly g_sColorRestore=$(tput sgr0)
105
-readonly g_sAuthor='Potherca-Bot <[email protected]>'
+
106
+: readonly "${GIT_AUTHOR:=Potherca-Bot <potherca+bot@gmail.com>}"
107
# ==============================================================================
108
109
@@ -283,7 +284,7 @@ getCurrentBranch() {
283
284
285
commit() {
286
printStatus 'Creating commit'
- git commit --author="${g_sAuthor}" --message="${1}."
287
+ git commit --author="${GIT_AUTHOR}" --message="${1}."
288
}
289
290
createBranch() {
0 commit comments