summaryrefslogtreecommitdiff
path: root/tests-clar/diff/tree.c
diff options
context:
space:
mode:
authorSascha Cunz <Sascha@BabbelBox.org>2012-09-18 22:35:09 +0200
committerSascha Cunz <Sascha@BabbelBox.org>2012-10-05 13:03:38 +0200
commit9ce44f1ae5a8b286585e60c88c6a143d80a226a6 (patch)
treed75a40f164dd247078915c12aff0fb00b58bf8dc /tests-clar/diff/tree.c
parent1a5cd26b8c90ecd512bff9d54846db1db277b492 (diff)
downloadlibgit2-9ce44f1ae5a8b286585e60c88c6a143d80a226a6.tar.gz
Diff: teach get_blob_content to show a submodule as text
diff_output.c:get_blob_content used to try to read the submodule commit as a blob in the superproject's odb. Of course it cannot find it and errors out with GIT_ENOTFOUND, implcitly terminating the whole diff output. This patch teaches it to create a text that describes the submodule instead. The text looks like: Subproject commit <SHA1>\n which is what git.git does, too.
Diffstat (limited to 'tests-clar/diff/tree.c')
0 files changed, 0 insertions, 0 deletions