Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Added NodeGit.Checkout.index#579

Merged
johnhaley81 merged 4 commits intonodegit:masternodegit/nodegit:masterfrom
jdgarcia:merge-conflictsCopy head branch name to clipboard
May 20, 2015
Merged

Added NodeGit.Checkout.index#579
johnhaley81 merged 4 commits intonodegit:masternodegit/nodegit:masterfrom
jdgarcia:merge-conflictsCopy head branch name to clipboard

Conversation

@jdgarcia
Copy link
Collaborator

  • updated descriptor.json for git_checkout_index (was previously ignored)
  • added normalize option convenience method
  • added a test to make sure an index with conflicts will write to disk when checked out

This function is useful for easily writing merge conflicts to disk since both merge and rebase will throw the index when there are merge conflicts

@jdgarcia jdgarcia changed the title Added NodeGit.Checkout.index [WIP] Added NodeGit.Checkout.index May 19, 2015
@jdgarcia jdgarcia changed the title [WIP] Added NodeGit.Checkout.index Added NodeGit.Checkout.index May 19, 2015
@johnhaley81
Copy link
Collaborator

Thanks man. This looks great!

johnhaley81 added a commit that referenced this pull request May 20, 2015
@johnhaley81 johnhaley81 merged commit 15d67b3 into nodegit:master May 20, 2015
@jdgarcia jdgarcia deleted the merge-conflicts branch April 21, 2016 17:12
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.