summaryrefslogtreecommitdiff
path: root/gitweb/README
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-10-30 22:29:06 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-01 12:15:39 -0800
commit45bd0c808d2a89254ee50807a99b7cf1147aa6d7 (patch)
tree7224d20bdca77306a448dc0ce64d2206bfe575e8 /gitweb/README
parentgitweb: esc_html() author in blame (diff)
downloadtgif-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/README')
0 files changed, 0 insertions, 0 deletions