summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.6.5.4.txt
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@inf.ethz.ch>2013-04-16 11:57:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-16 11:17:48 -0700
commit70d26c6e76d91c04ec53001a21f405b9883e3e3f (patch)
tree5e125bd4e64bc924c39fe0b70ef69cb336f7d784 /Documentation/RelNotes/1.6.5.4.txt
parentGit 1.7.12.4 (diff)
downloadtgif-70d26c6e76d91c04ec53001a21f405b9883e3e3f.tar.xz
read_revisions_from_stdin: make copies for handle_revision_arg
read_revisions_from_stdin() has passed pointers to its read buffer down to handle_revision_arg() since its inception way back in 42cabc3 (Teach rev-list an option to read revs from the standard input., 2006-09-05). Even back then, this was a bug: through add_pending_object, the argument was recorded in the object_array's 'name' field. Fix it by making a copy whenever read_revisions_from_stdin() passes an argument down the callchain. The other caller runs handle_revision_arg() on argv[], where it would be redundant to make a copy. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.6.5.4.txt')
0 files changed, 0 insertions, 0 deletions