Fix Subsplit options
This commit is contained in:
parent
d4d80f4577
commit
46e20223c7
|
|
@ -28,6 +28,7 @@ tags= only publish for listed tags instead of all tags
|
|||
no-tags do not publish any tags
|
||||
update fetch updates from repository before publishing
|
||||
rebuild-tags rebuild all tags (as opposed to skipping tags that are already synced)
|
||||
path= path of the repository
|
||||
"
|
||||
eval "$(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)"
|
||||
|
||||
|
|
@ -74,7 +75,7 @@ subsplit_main()
|
|||
-n) DRY_RUN="--dry-run" ;;
|
||||
--dry-run) DRY_RUN="--dry-run" ;;
|
||||
--rebuild-tags) REBUILD_TAGS=1 ;;
|
||||
--path) WORK_DIR="$1" ;;
|
||||
--path) WORK_DIR="$1"; shift ;;
|
||||
--) break ;;
|
||||
*) die "Unexpected option: $opt" ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in New Issue