diff options
author | Linus Torvalds <torvalds@osdl.org> | 2006-04-26 10:15:54 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-26 12:16:21 -0700 |
commit | e23d0b4a4a55cc07e133905f0e9526b3550dd61b (patch) | |
tree | 515672854c5dd676564edf9d73792129d62f9ecc /t/t1200-tutorial.sh | |
parent | rebase: typofix. (diff) | |
download | tgif-e23d0b4a4a55cc07e133905f0e9526b3550dd61b.tar.xz |
Fix filename verification when in a subdirectory
When we are in a subdirectory of a git archive, we need to take the prefix
of that subdirectory into accoung when we verify filename arguments.
Noted by Matthias Lederhofer
This also uses the improved error reporting for all the other git commands
that use the revision parsing interfaces, not just git-rev-parse. Also, it
makes the error reporting for mixed filenames and argument flags clearer
(you cannot put flags after the start of the pathname list).
[jc: with fix to a trivial typo noticed by Timo Hirvonen]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t1200-tutorial.sh')
0 files changed, 0 insertions, 0 deletions