Skip to content

Introduced Reference.IsValidName(string) #691

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
Apr 26, 2014

Conversation

someoneigna
Copy link
Contributor

Deprecated ReferenceCollection.IsValidName(string) .

Updated CanTellIfAReferenceIsValid Test .

Fixes #680

@@ -340,9 +340,10 @@ public virtual IEnumerable<Reference> FromGlob(string pattern)
/// </para>
/// <param name="canonicalName">The name to be checked.</param>
/// <returns>true is the name is valid; false otherwise.</returns>
[Obsolete("This method will be removed in the next release. Please use Remote.IsValidName(string) instead.")]
Copy link
Member

Choose a reason for hiding this comment

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

Please use Reference.IsValidName(string) instead.

copy/paste typo? 😉

@someoneigna
Copy link
Contributor Author

Ups 😞 I should be more careful next time.

@nulltoken
Copy link
Member

Hmmm. It looks like you've accidentally merged your issue_676 branch in this one. Could you please drop the merge commit 0a17084? Rebase interactive mode should allow you to easily do this.

Once this is done, could you please

  • Squash the fixup commits into the first one
  • Rebase this branch onto the latest vNext. Indeed, we try to keep a straight line of commits and avoid merge bubbles.

@someoneigna
Copy link
Contributor Author

I really appreciate you take the time to aid novices and encouraging them to participate.
You must be 😪 and 😲 by now 🙈

Thanks ✋

@nulltoken nulltoken added this to the v0.18.0 milestone Apr 25, 2014
@nulltoken
Copy link
Member

😊

Please ping me when this is rebased on the latest vNext.

Deprecated ReferenceCollection.IsValidName(string) .

Updated Test .

Fixes libgit2#680

Fixed typo in [Obsolete] tag.

Rebase into current vNext.
@someoneigna
Copy link
Contributor Author

@nulltoken Is it now correct? 😰

@dahlbyk
Copy link
Member

dahlbyk commented Apr 26, 2014

@nulltoken Is it now correct?

It is!

@nulltoken nulltoken merged commit 989f953 into libgit2:vNext Apr 26, 2014
@nulltoken
Copy link
Member

@someoneigna And another one is in! 👍

@someoneigna someoneigna deleted the issue_680 branch April 26, 2014 22:26
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