summaryrefslogtreecommitdiff
path: root/Documentation/gitattributes.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2013-03-16 19:29:31 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-17 00:10:51 -0700
commitb2981d06226ab0fdabf9110c3be7104110b307ae (patch)
treeaae8ba7d3933a96e6f6fb4c245d87a159209e446 /Documentation/gitattributes.txt
parentMakefile: keep LIB_H entries together and sorted (diff)
downloadtgif-b2981d06226ab0fdabf9110c3be7104110b307ae.tar.xz
sha1_name: pass object name length to diagnose_invalid_sha1_path()
The only caller of diagnose_invalid_sha1_path() extracts a substring from an object name by creating a NUL-terminated copy of the interesting part. Add a length parameter to the function and thus avoid the need for an allocation, thereby simplifying the code. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitattributes.txt')
0 files changed, 0 insertions, 0 deletions