diff options
author | 2006-10-30 22:29:06 +0100 | |
---|---|---|
committer | 2006-11-01 12:15:39 -0800 | |
commit | 45bd0c808d2a89254ee50807a99b7cf1147aa6d7 (patch) | |
tree | 7224d20bdca77306a448dc0ce64d2206bfe575e8 /gitweb/git-logo.png | |
parent | gitweb: esc_html() author in blame (diff) | |
download | tgif-45bd0c808d2a89254ee50807a99b7cf1147aa6d7.tar.xz |
gitweb: Secure against commit-ish/tree-ish with the same name as path
Add "--" after <commit-ish> or <tree-ish> argument to clearly mark it
as <commit-ish> or <tree-ish> and not pathspec, securing against refs
with the same names as files or directories in [live] repository.
Some wrapping to reduce line length as well.
[jc: with "oops, ls-tree does not want --" fix-up manually applied.]
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/git-logo.png')
0 files changed, 0 insertions, 0 deletions