mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 04:17:25 +00:00
In git_checkout_tree, the first check tests if either repo or treeish is NULL and says that eithor of them has to have a valid value. But there is no code to handle the treeish == NULL case. So, do something meaningful in that case: use HEAD instead. |
||
|---|---|---|
| .. | ||
| git2 | ||
| git2.h | ||