mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-02 15:56:54 +00:00
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. |
||
|---|---|---|
| .. | ||
| ignore.c | ||
| single.c | ||
| status_data.h | ||
| status_helpers.c | ||
| status_helpers.h | ||
| submodules.c | ||
| worktree_init.c | ||
| worktree.c | ||