Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
index.c | ||
iterator.c | ||
patch.c | ||
rename.c | ||
tree.c | ||
workdir.c |
`git_diff_get_patch()` would unconditionally load the patch object and then simply leak it if the user hadn't requested it. Short-circuit loading the object if the user doesn't want it. The rest of the plugs are simply calling the free functions of objects allocated during the tests.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | Loading commit data... | |
diff_helpers.c | Loading commit data... | |
diff_helpers.h | Loading commit data... | |
diffiter.c | Loading commit data... | |
index.c | Loading commit data... | |
iterator.c | Loading commit data... | |
patch.c | Loading commit data... | |
rename.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |