summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar Rene Scharfe <rene.scharfe@lsrfire.ath.cx>2008-07-25 12:41:26 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-30 00:15:14 -0700
commit4fac1d3a98bb86d855b706d7ce6a5069b9f687e8 (patch)
tree1ea7ba30188a77f99349fcb6c94973aa71f16726 /diff.c
parentMake use of stat.ctime configurable (diff)
downloadtgif-4fac1d3a98bb86d855b706d7ce6a5069b9f687e8.tar.xz
archive: allow --exec and --remote without equal sign
Convert git archive to parse_options(). The parameters --remote and --exec are still handled by their special parser. Define them anyway in order for them to show up in the usage notice. Note: in a command like "git archive --prefix --remote=a/ HEAD", the string "--remote=a/" will be interpreted as a remote option, not a prefix, because that special parser sees it first. If one needs such a strange prefix, it needs to be specified like this: "git archive --prefix=--remote=a/ HEAD" (with an equal sign). Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions