Implement the missing HEAD functions #88
Labels
No Label
bug
duplicate
enhancement
invalid
question
up for grabs
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jcarr/git2go#88
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Hi,
would be cool to implement
since I haven't really found any other sane way how to perform a checkout or a merge without these. Both
Repository.CheckoutHead
andRepository.Merge
depend onHEAD
.Hope that I am not saying complete bullshit, it's 3am and I am brain-dead.
Regards,
Ondrej Kupka
Will try to implement these when I have time...
You can just follow the link above to see the commit implementing this. Not sending a pull request yet since I haven't even tried to build it since I don't have
libgit2
installed on this computer. Do we need any tests for this? Looks pretty trivial, but...