summaryrefslogtreecommitdiff
path: root/t/t2100-update-cache-badpath.sh
diff options
context:
space:
mode:
authorLibravatar Jacopo Notarstefano <jacopo.notarstefano@gmail.com>2014-02-28 12:09:04 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-05 12:26:51 -0800
commit9ef5e2a7223fbabf6a29946c1c120bc2c3c6cf86 (patch)
tree12ba558c3f2b650c8b71f15bf6a9c8bff10e2338 /t/t2100-update-cache-badpath.sh
parentGit 1.8.4.5 (diff)
downloadtgif-9ef5e2a7223fbabf6a29946c1c120bc2c3c6cf86.tar.xz
branch.c: delete size check of newly tracked branch names
Since commit 6f084a56 the length of a newly tracked branch name was limited to 1019 = 1024 - 7 - 7 - 1 characters, a bound derived by having to store this name in a char[1024] called key with two strings of length at most 7 and a '\0' character. This was no longer necessary as of commit a9f2c136, which uses a strbuf (documented in Documentation/technical/api-strbuf.txt) to store this value. Remove this unneeded check to allow branch names longer than 1019 characters. Signed-off-by: Jacopo Notarstefano <jacopo.notarstefano@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2100-update-cache-badpath.sh')
0 files changed, 0 insertions, 0 deletions