Skip to content

Add basic for-each-ref command #239

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

Open
wants to merge 96 commits into
base: master
Choose a base branch
from

Conversation

sirnewton01
Copy link
Collaborator

This is just enough to satisfy some of what the t5516-fetch-pull tests need. It supports the basic format only and commits only. The pattern doesn't support wildcards yet.

@sirnewton01 sirnewton01 requested a review from driusan March 14, 2019 00:03
}

flags.Parse(args)
refs, err := git.ShowRef(c, git.ShowRefOptions{}, []string{})
Copy link
Owner

Choose a reason for hiding this comment

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

I think this part that does the work should be in the git package to be consistent with other commands.

Copy link
Owner

Choose a reason for hiding this comment

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

@sirnewton01 ping.. are you going to get a chance to refactor this, or do you want me to pick it up? I don't think it should be a lot of work.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can have a look at doing the refactor at some point. Sorry, just really busy at the moment.

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