bin/learn-test-wip in learn-test-3.2.1.pre.2 vs bin/learn-test-wip in learn-test-3.2.1.pre.3
- old
+ new
@@ -31,23 +31,20 @@
-i --ignored - capture also ignored files
--no-gpg-sign - do not sign commit; that is, countermand
'commit.gpgSign = true'
Options for log:
- -p --pretty - show a pretty graph
+ -p --pretty - show a pretty graph
-r --reflog - show changes in reflog
-s --stat - show diffstat
"
-SUBDIRECTORY_OK=Yes
-OPTIONS_SPEC=''
+. "$(git --exec-path)/git-sh-setup"
-source "$(git --exec-path)/git-sh-setup"
-
require_work_tree
TMP="$GIT_DIR/.git-wip.$$"
-trap 'rm -f "$TMP-*"' EXIT
+trap 'rm -f "$TMP-*"' 0
WIP_INDEX="$TMP-INDEX"
WIP_PREFIX=refs/wip/
WIP_COMMAND=