commit 2266bf25e7ebf93876140b5c57e559490d61538e
parent 104d20027d2d98ce88ee2c20ce376b85d8e2602c
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Sat, 21 Sep 2024 14:07:03 +0000
Git init command is corrected
Diffstat:
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/spec/usage_spec.sh b/spec/usage_spec.sh
@@ -732,7 +732,6 @@ Describe 'Command-Line Parsing'
%text:expand
#|$ mkdir -p -- ${PREFIX}
#|$ git -C ${PREFIX} init
- #|$ scm_begin
#|$ scm_add .
#|$ scm_commit Add current contents of password store.
#|$ cmd_gitconfig
diff --git a/src/pashage.sh b/src/pashage.sh
@@ -1222,7 +1222,6 @@ cmd_git() {
elif [ "$1" = init ]; then
mkdir -p -- "${PREFIX}"
git -C "${PREFIX}" "$@"
- scm_begin
scm_add '.'
scm_commit "Add current contents of password store."
cmd_gitconfig