summaryrefslogtreecommitdiff
path: root/Documentation/user-manual.txt
diff options
context:
space:
mode:
authorLibravatar Andy Parkins <andyparkins@gmail.com>2007-02-27 12:49:09 +0000
committerLibravatar Junio C Hamano <junkio@cox.net>2007-02-27 15:51:03 -0800
commit1872adabccdd904f31f16276b147c63fa03079d4 (patch)
treed5af480ab8e0cb7cacbd777cd3fb8a9bcf574c10 /Documentation/user-manual.txt
parentMake 'cvs ci' lockless in git-cvsserver by using git-update-ref (diff)
downloadtgif-1872adabccdd904f31f16276b147c63fa03079d4.tar.xz
cvsserver: Remove trailing "\n" from commithash in checkin function
The commithash for updating the ref is obtained from a call to git-commit-tree. However, it was returned (and stored) with the trailing newline. This meant that the later call to git-update-ref that was trying to update to $commithash was including the newline in the parameter - obviously that hash would never exist, and so git-update-ref would always fail. The solution is to chomp() the commithash as soon as it is returned by git-commit-tree. Signed-off-by: Andy Parkins <andyparkins@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/user-manual.txt')
0 files changed, 0 insertions, 0 deletions