Skip to content

Made two -moveHEAD... methods public.#513

Closed
wilshipley wants to merge 4 commits into
libgit2:masterfrom
delicious-monster:master
Closed

Made two -moveHEAD... methods public.#513
wilshipley wants to merge 4 commits into
libgit2:masterfrom
delicious-monster:master

Conversation

@wilshipley
Copy link
Copy Markdown
Contributor

Moved private method declarations -moveHEADToReference:error: and -moveHEADToCommit:error: to the header so they can be used from apps. This seems important because I'm told the only legitimate way to move the HEAD is with these methods (and the underlying git2 functions) and NOT to delete and recreate the HEAD reference manually, so these methods must be public if client apps need to move the HEAD.

…veHEADToCommit:error: to the header so they can be used from apps. This seems important because I'm told the only legitimate way to move the HEAD is with these methods (and the underlying git2 functions) and NOT to delete and recreate the HEAD reference manually, so these methods must be public if client apps need to move the HEAD.
Comment thread External/libgit2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you've accidentally moved libgit2 to an earlier revision.

@wilshipley
Copy link
Copy Markdown
Contributor Author

Ugh I suck.

@wilshipley wilshipley closed this Aug 26, 2015
@wilshipley
Copy link
Copy Markdown
Contributor Author

Ok, I definitely don't understand how to add submodules to submodules in git, which is ironic, since I'm trying to add code to git itself.

@phatblat
Copy link
Copy Markdown
Member

Submodules are hard. In your branch you want to drill into the External/libgit2 folder, then check out c27b4af. Pop back up to objective-git and then check in the change to External/libgit2 (the new value should be c27b4af)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants