diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2017-01-13 17:58:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-13 11:22:18 -0800 |
commit | 8d7aa4ba6a00b3ff69261e88b4842c0df5662125 (patch) | |
tree | 058246c75637359eb2ab765ae9f767cae09a0a46 /Documentation/git-reset.txt | |
parent | Fifth batch 2.12 (diff) | |
download | tgif-8d7aa4ba6a00b3ff69261e88b4842c0df5662125.tar.xz |
builtin/commit.c: remove the PATH_MAX limitation via dynamic allocation
Remove the PATH_MAX limitation from the environment setting that
points to a filename by switching to dynamic allocation.
As a side effect of this change, we also reduce the snprintf()
calls, that may silently truncate results if the programmer is not
careful.
Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-reset.txt')
0 files changed, 0 insertions, 0 deletions