mirror of
https://github.com/tj/git-extras.git
synced 2026-09-13 17:06:22 -04:00
Merge pull request #494 from apjanke/fix-git-repo-inclusion
Makefile: fix inverted list of commands that use is_git_repo
This commit is contained in:
commit
ef73afb39e
2
Makefile
2
Makefile
|
|
@ -35,7 +35,7 @@ install:
|
|||
echo "... installing $(COMMAND)"; \
|
||||
head -1 bin/$(COMMAND) > $(TEMPFILE); \
|
||||
cat $(LIB) >> $(TEMPFILE); \
|
||||
if grep "$(COMMAND)" need_git_repo >/dev/null; then \
|
||||
if ! grep "$(COMMAND)" not_need_git_repo >/dev/null; then \
|
||||
cat ./helper/is-git-repo >> $(TEMPFILE); \
|
||||
fi; \
|
||||
tail -n +2 bin/$(COMMAND) >> $(TEMPFILE); \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# A list of the commands that use is_git_repo, and should have
|
||||
# A list of the commands that do not use is_git_repo(), and should not have
|
||||
# it included in the "built" version of the command
|
||||
git-alias
|
||||
git-extras
|
||||
Loading…
Reference in a new issue