Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions git-subsplit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ h,help show the help
q quiet
debug show plenty of debug output
n,dry-run do everything except actually send the updates
work-dir directory that contains the subsplit working directory
work-dir= directory that contains the subsplit working directory

options for 'publish'
heads= only publish for listed heads instead of all heads
Expand All @@ -39,7 +39,7 @@ PATH=$PATH:$(git --exec-path)

if [ "$(hash git-subtree &>/dev/null && echo OK)" = "" ]
then
die "Git subplit needs git subtree; install git subtree or upgrade git to >=1.7.11"
die "Git subsplit needs git subtree; install git subtree or upgrade git to >=1.7.11"
fi

ANNOTATE=
Expand All @@ -65,6 +65,7 @@ subsplit_main()
-q) QUIET=1 ;;
--debug) VERBOSE=1 ;;
--heads) HEADS="$1"; shift ;;
--work-dir) WORK_DIR="$1"; shift ;;
--no-heads) NO_HEADS=1 ;;
--tags) TAGS="$1"; shift ;;
--no-tags) NO_TAGS=1 ;;
Expand Down