summaryrefslogtreecommitdiff
path: root/builtin/merge-file.c
diff options
context:
space:
mode:
authorLibravatar Antoine Beaupré <anarcat@debian.org>2017-10-29 14:15:11 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-01 13:42:38 +0900
commitd1a7050f93768c10fa8c552ba62c3f86193d34c3 (patch)
tree0914eeb0fdd3aed3eecb47370ef51069be8face0 /builtin/merge-file.c
parentGit 2.15 (diff)
downloadtgif-d1a7050f93768c10fa8c552ba62c3f86193d34c3.tar.xz
remote-mediawiki: limit filenames to legal
mediawiki pages can have names longer than NAME_MAX (generally 255) characters, which will fail on checkout. we simply strip out extra characters, which may mean one page's content will overwrite another (the last editing winning). ideally, we would do a more clever system to find unique names, but that would be more difficult and error prone for a situation that should rarely happen in the first place. Signed-off-by: Antoine Beaupré <anarcat@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-file.c')
0 files changed, 0 insertions, 0 deletions