git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[TopGit PATCH] Makefile: Use $(wildcard) for commands_in

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Aug 13, 2008, 07:11 UTC
Message-ID
<1218611475-12960-1-git-send-email-bert.wesarg@googlemail.com>
In-Reply-To
<36ca99e90808130010w226a8947y1e1c59e5f5d57989@mail.gmail.com>

To prevent merge conflicts while adding new commands, use a wildcard for the command list.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 6eade1e..2c4a67c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ sharedir = $(PREFIX)/share/topgit
 hooksdir = $(cmddir)/hooks
 
 
-commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-update.sh
+commands_in = $(wildcard tg-*.sh)
 hooks_in = hooks/pre-commit.sh
 
 commands_out = $(patsubst %.sh,%,$(commands_in))
-- 
tg: (f27e693..) t/use-wildcard-for-commands_in (depends on: master)
Previous: Bert Wesarg
Message 3 of 3 in “tg-graft: forge tip--base--<deps...> history for a subcommand”
  1. tg-graft: forge tip--base--<deps...> history for a subcommandThomas Rast, Aug 12, 2008
  2. Bert WesargAug 13, 2008
  3. Makefile: Use $(wildcard) for commands_inBert Wesarg, Aug 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.