This adds tests for diffs with submodules in them and (perhaps unsurprisingly) requires further fixes to be made. Specifically, this fixes: - when considering if a submodule is dirty in the workdir, it was being treated as dirty even if only the index was dirty. - git_diff_patch_to_str (and git_diff_patch_print) were "printing" the headers for files (and submodules) that were unmodified or had no meaningful content. - added comment to previous fix and removed unneeded parens.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr.h | Loading commit data... | |
blob.h | Loading commit data... | |
branch.h | Loading commit data... | |
checkout.h | Loading commit data... | |
clone.h | Loading commit data... | |
commit.h | Loading commit data... | |
common.h | Loading commit data... | |
config.h | Loading commit data... | |
cred_helpers.h | Loading commit data... | |
diff.h | Loading commit data... | |
errors.h | Loading commit data... | |
graph.h | Loading commit data... | |
ignore.h | Loading commit data... | |
index.h | Loading commit data... | |
indexer.h | Loading commit data... | |
inttypes.h | Loading commit data... | |
merge.h | Loading commit data... | |
message.h | Loading commit data... | |
net.h | Loading commit data... | |
notes.h | Loading commit data... | |
object.h | Loading commit data... | |
odb.h | Loading commit data... | |
odb_backend.h | Loading commit data... | |
oid.h | Loading commit data... | |
pack.h | Loading commit data... | |
push.h | Loading commit data... | |
refdb.h | Loading commit data... | |
refdb_backend.h | Loading commit data... | |
reflog.h | Loading commit data... | |
refs.h | Loading commit data... | |
refspec.h | Loading commit data... | |
remote.h | Loading commit data... | |
repository.h | Loading commit data... | |
reset.h | Loading commit data... | |
revparse.h | Loading commit data... | |
revwalk.h | Loading commit data... | |
signature.h | Loading commit data... | |
stash.h | Loading commit data... | |
status.h | Loading commit data... | |
stdint.h | Loading commit data... | |
strarray.h | Loading commit data... | |
submodule.h | Loading commit data... | |
tag.h | Loading commit data... | |
threads.h | Loading commit data... | |
trace.h | Loading commit data... | |
transport.h | Loading commit data... | |
tree.h | Loading commit data... | |
types.h | Loading commit data... | |
version.h | Loading commit data... |