]> git.proxmox.com Git - libgit2.git/commit
Clean up blob diff path
authorRussell Belfer <rb@github.com>
Thu, 6 Sep 2012 22:45:50 +0000 (15:45 -0700)
committerRussell Belfer <rb@github.com>
Thu, 6 Sep 2012 22:45:50 +0000 (15:45 -0700)
commit3a3deea80bb6555706f58006bdee8e878b0fd651
tree34eccce16579a37a8fabf989002f0232e0d625ce
parent60b9d3fcef04a6beb0ad4df225ada058afabf0b9
Clean up blob diff path

Previously when diffing blobs, the diff code just ran with a NULL
repository object. Of course, that's not necessary and the test
for a NULL repo was confusing. This makes the blob diff run with
the repo that contains the blobs and clarifies the test that it
is possible to be diffing data where the path is unknown.
src/diff_output.c