summaryrefslogtreecommitdiff
path: root/builtin/apply.c
diff options
context:
space:
mode:
authorLukas Fleischer <git@cryptocrack.de>2015-01-13 01:59:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-13 18:05:53 (GMT)
commita46442f1675722eb68238b329a4a285f03f41dda (patch)
tree4e8a08097bd0bf0ce93dd5b57b9150d0d36e32c8 /builtin/apply.c
parent8c53f0719b04e0b6328c2e175e3c5d2dc8a0c282 (diff)
downloadgit-a46442f1675722eb68238b329a4a285f03f41dda.zip
git-a46442f1675722eb68238b329a4a285f03f41dda.tar.gz
git-a46442f1675722eb68238b329a4a285f03f41dda.tar.bz2
blame.c: fix garbled error message
The helper functions prepare_final() and prepare_initial() return a pointer to a string that is a member of an object in the revs->pending array. This array is later rebuilt when running prepare_revision_walk() which potentially transforms the pointer target into a bogus string. Fix this by maintaining a copy of the original string. Signed-off-by: Lukas Fleischer <git@cryptocrack.de> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/apply.c')
0 files changed, 0 insertions, 0 deletions