diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-03-14 10:01:56 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-03-14 12:04:04 +0100 |
commit | 41019152a03815be27139764ceed05fd5a0e4b58 (patch) | |
tree | 09c6dc78a8ea30b092d4ea365858d5e97d76e8ec /tests/diff/parse.c | |
parent | 53454be87f9b14f5df79a5917ce3986590438748 (diff) | |
download | libgit2-41019152a03815be27139764ceed05fd5a0e4b58.tar.gz |
patch_generate: remove duplicated logic
Under the existing logic, we try to load patch contents differently,
depending on whether the patch files stem from the working directory or
not. But actually, the executed code paths are completely equal to each
other -- so we were always the code despite the condition.
Remove the condition altogether and conflate both code paths.
Diffstat (limited to 'tests/diff/parse.c')
0 files changed, 0 insertions, 0 deletions