diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-11-04 11:30:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-05 22:48:13 -0800 |
commit | bac199b7b17cd12286a7d5393f4789574c2e1dc4 (patch) | |
tree | f5461ec2e9e06c0d639db93906862f2077607d32 /builtin-prune-packed.c | |
parent | Add a parseopt mode to git-rev-parse to bring parse-options to shell scripts. (diff) | |
download | tgif-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 'builtin-prune-packed.c')
0 files changed, 0 insertions, 0 deletions