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

[PATCH] cg-init should only process files

From
David Greaves <david@dgreaves.com>
Date
May 12, 2005, 16:03 UTC
Message-ID
<E1DWG9b-0001VV-V0@ash.dgreaves.com>
cg-init tries to add directories
Signed-off-by: David Greaves <david@dgreaves.com>

--- commit c6ecba40932efa0b28cd15d00fdab3b2607ec069 tree 39f7bebbadf6ebae67367b629d8cec298f7dcc90 parent f7d4b2adfc6a29036e2a8abe5b742e57b64e50d7 author David Greaves <david@dgreaves.com> Thu, 12 May 2005 13:05:03 +0100 committer David Greaves <david@ash.(none)> Thu, 12 May 2005 13:05:03 +0100

 cg-init |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Index: cg-init
===================================================================
--- 85d8d081e2012da8dd1af35b62ae82f79f89ebd0/cg-init  (mode:100755)
+++ 39f7bebbadf6ebae67367b629d8cec298f7dcc90/cg-init  (mode:100755)
@@ -31,7 +31,7 @@
 	echo "Cloned (origin $uri available as branch \"origin\")"
 else
 	git-read-tree # Seed the dircache
-	find * | xargs cg-add
+	find * -type f | xargs cg-add
 	cg-commit -C -m"Initial commit" -e
 fi
 exit 0
Next: Morten Welinder
Message 1 of 3 in “cg-init should only process files”
  1. cg-init should only process filesDavid Greaves, May 12, 2005
  2. Morten WelinderMay 12, 2005
  3. David GreavesMay 12, 2005

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.