Skip to content

make diff of blob to blob in repository.diff work#508

Merged
jdavid merged 2 commits intolibgit2:masterfrom
spderosso:master
Apr 3, 2015
Merged

make diff of blob to blob in repository.diff work#508
jdavid merged 2 commits intolibgit2:masterfrom
spderosso:master

Conversation

@spderosso
Copy link
Contributor

I usually do blob1.diff(blob2) but I ran into this the other day and I figured I might as well just fix it. That said, it's not clear to me it's a good idea to have two different ways of doing (what seems to be) the same thing (i.e., blob1.diff(blob2) and repo.diff(blob1, blob2)) but I leave that up to you. (The other alternative is to have repo.diff be only for showing changes between WT, index, and head)

@spderosso spderosso changed the title bug fix in repository.diff make diff of blob to blob in repository.diff work Mar 31, 2015
@jdavid jdavid merged commit 08f2956 into libgit2:master Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants