Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BranchCollection: Obsolete Move and introduce Rename. #738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2014

Conversation

Therzok
Copy link
Member

@Therzok Therzok commented Jun 2, 2014

This closes #737.

public virtual Branch Move(Branch branch, string newName, bool allowOverwrite = false)
{
return Move(branch, newName, null, null, allowOverwrite);
return Rename(branch, newName, null, null, allowOverwrite);
Copy link
Member Author

Choose a reason for hiding this comment

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

Should this be Rename(branch, newName, allowOverwrite)?

Copy link
Member

Choose a reason for hiding this comment

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

👍

@nulltoken
Copy link
Member

@Therzok Neat! Just a nitpick. It looks like there's still some test code that invokes Branches.Move() in BranchFixture.cs

@Therzok
Copy link
Member Author

Therzok commented Jun 2, 2014

Oh? I must've missed it. One second.

@nulltoken
Copy link
Member

Last request. Could you please also rename the tests (eg. CanMove -> CanRename, ...)?

@Therzok
Copy link
Member Author

Therzok commented Jun 2, 2014

Oh, sure. :D

@Therzok
Copy link
Member Author

Therzok commented Jun 2, 2014

Everything should be done now. :o

@nulltoken nulltoken merged commit 8384e7e into libgit2:vNext Jun 2, 2014
@nulltoken
Copy link
Member

...and merged! THANKS! 😄

@nulltoken nulltoken added this to the v0.18.0 milestone Jun 2, 2014
@Therzok Therzok deleted the obsoleteMove branch June 2, 2014 15:27
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