summaryrefslogtreecommitdiff
path: root/git-clean.sh
diff options
context:
space:
mode:
authorLibravatar Pierre Habouzit <madcoder@debian.org>2007-11-04 11:30:54 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-05 22:48:13 -0800
commitbac199b7b17cd12286a7d5393f4789574c2e1dc4 (patch)
treef5461ec2e9e06c0d639db93906862f2077607d32 /git-clean.sh
parentAdd a parseopt mode to git-rev-parse to bring parse-options to shell scripts. (diff)
downloadtgif-bac199b7b17cd12286a7d5393f4789574c2e1dc4.tar.xz
Update git-sh-setup(1) to allow transparent use of git-rev-parse --parseopt
If you set OPTIONS_SPEC, git-sh-setups uses git-rev-parse --parseopt automatically. It also diverts usage to re-exec $0 with the -h option as parse-options.c will catch that. If you need git-rev-parse --parseopt to keep the `--` the user may have passed to your command, set OPTIONS_KEEPDASHDASH to a non empty value in your script. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-clean.sh')
0 files changed, 0 insertions, 0 deletions