summaryrefslogtreecommitdiff
path: root/Documentation/revisions.txt
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-03-16 19:29:31 +0100
committerJunio C Hamano <gitster@pobox.com>2013-03-17 00:10:51 -0700
commitb2981d06226ab0fdabf9110c3be7104110b307ae (patch)
treeaae8ba7d3933a96e6f6fb4c245d87a159209e446 /Documentation/revisions.txt
parentea738e2da113567a430f3ab175d1759d26557e51 (diff)
downloadgit-b2981d06226ab0fdabf9110c3be7104110b307ae.tar.gz
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/revisions.txt')
0 files changed, 0 insertions, 0 deletions