summaryrefslogtreecommitdiff
path: root/varint.c
diff options
context:
space:
mode:
authorRichard Hansen <hansenr@google.com>2017-01-10 15:41:50 -0500
committerJunio C Hamano <gitster@pobox.com>2017-01-10 13:22:19 -0800
commit11873b438faa13ff1416741bb48dbdaa8a6cc083 (patch)
tree91ccd67b46b54c5401bdfe5e6ef7f6f7b0571285 /varint.c
parent314caebe214928e4087d67418f837e58c8294586 (diff)
downloadgit-11873b438faa13ff1416741bb48dbdaa8a6cc083.tar.gz
rev-parse doc: pass "--" to rev-parse in the --prefix example
The "--" argument avoids "ambiguous argument: unknown revision or path not in the working tree" errors when a pathname argument refers to a non-existent file. The "--" passed explicitly to set was removed because rev-parse outputs the "--" argument that it is given. Signed-off-by: Richard Hansen <hansenr@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'varint.c')
0 files changed, 0 insertions, 0 deletions