mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-02 21:26:09 +00:00
When a repo is first created, there is no HEAD yet and attempting to diff files in the index was showing nothing because a tree iterator could not be constructed. This adds an "empty" iterator and falls back on that when the head cannot be looked up. |
||
|---|---|---|
| .. | ||
| ignore.c | ||
| single.c | ||
| status_data.h | ||
| submodules.c | ||
| worktree.c | ||