Skip to content

Conversation

@apjanke
Copy link
Contributor

@apjanke apjanke commented Oct 2, 2015

Here's a suggestion for refactoring the Makefile to simplify it. This avoids the need for a big repeated block of code for the command-construction logic, where the two blocks differ by only one line.

This avoids the need for a big repeated block of code.
@hemanth
Copy link
Collaborator

hemanth commented Oct 2, 2015

👍

hemanth added a commit that referenced this pull request Oct 2, 2015
Makefile: refactor is-git-repo inclusion logic
@hemanth hemanth merged commit d82c9b4 into tj:master Oct 2, 2015
@apjanke apjanke deleted the makefile-refactor-libs branch October 2, 2015 20:50
@apjanke
Copy link
Contributor Author

apjanke commented Oct 2, 2015

Thanks!

@nicolaiskogheim
Copy link
Collaborator

Sweet!

@qw3rtman qw3rtman mentioned this pull request Dec 27, 2015
@dwijnand
Copy link

This patch does the wrong thing. COMMANDS_USED_WITHOUT_GIT_REPO doesn't mean "commands that use is_git_repo, and should have it included in the "built" version of the command".

For fallout see #493.

@apjanke
Copy link
Contributor Author

apjanke commented Jan 1, 2016

Oh, jeez. Sorry about that. Here's a PR that fixes the sense of the test: #494

tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
Makefile: refactor is-git-repo inclusion logic
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.

4 participants