Repository.CreateCommit: Allow empty refname for non-update commit #115
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/empty_refname"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The documentation implies that
refname
can be NULL if you don't want to automatically udpate a ref. This is useful if you want to create a new root commit (without any parents, think agh-pages
branch).This commit enables users to use the empty string for
refname
to signal a non-updating commit.Thanks