summaryrefslogtreecommitdiff
path: root/builtin-diff-stages.c
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2006-10-24 02:39:14 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-23 19:21:05 -0700
commita153adf683d2b6e22c7e892ed8a161b140156186 (patch)
treeddd2c5f05bc6ad23ff4512fd706a5984c75ba3ac /builtin-diff-stages.c
parentdaemon: do not die on older clients. (diff)
downloadtgif-a153adf683d2b6e22c7e892ed8a161b140156186.tar.xz
gitweb: Fix setting $/ in parse_commit()
If the commit couldn't have been read, $/ wasn't restored to \n properly, causing random havoc like git_get_ref_list() returning the ref names with trailing \n. Aside of potential confusion in the body of git_search(), no other $/ surprises are hopefully hidden in the code. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-diff-stages.c')
0 files changed, 0 insertions, 0 deletions