summaryrefslogtreecommitdiff
path: root/Documentation/git-replace.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2010-02-11 16:07:06 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-11 22:11:03 -0800
commit08565bdb4b5d1da597ed8b90d1a23729f7c006d0 (patch)
tree76622bf234ef4d2c4220df1dc34c250ed75123b1 /Documentation/git-replace.txt
parentcherry-pick: refactor commit parsing code (diff)
downloadtgif-08565bdb4b5d1da597ed8b90d1a23729f7c006d0.tar.xz
cherry-pick: format help message as strbuf
This gets rid of the fixed-size buffer and an unchecked sprintf. That sprintf is actually OK as the only variable-sized thing put in it is an abbreviated sha1, which is bounded at 40 characters. However, the next patch will change that to something unbounded. Note that this function now returns an allocated buffer instead of a static one; however, it doesn't matter as the only caller exits immediately. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-replace.txt')
0 files changed, 0 insertions, 0 deletions