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

[PATCH 2/4] bugfix for cg-init -N: pass -N to cg-commit

From
Bryan Larsen <bryanlarsen@yahoo.com>
Date
Jul 11, 2005, 03:53 UTC
Message-ID
<20050711035327.22229.20563.sendpatchset@bryan-larsens-ibook-g4.local>
In-Reply-To
<20050711035305.22229.87752.sendpatchset@bryan-larsens-ibook-g4.local>
Bugfix for cg-init -N:  the -N option needs to be passed down into cg-commit as well.
Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
---
diff --git a/cg-init b/cg-init
--- a/cg-init
+++ b/cg-init
@@ -56,7 +56,7 @@ if [ "$uri" ]; then
 else
 	git-read-tree # Seed the dircache
 	find * \( -type f -o -type l \) -print0 | xargs -0r cg-add ${infoonly}
-	cg-commit -C -m"Initial commit" -E
+	cg-commit -C -m"Initial commit" -E ${infoonly}
 fi
 
 trap "" SIGTERM EXIT
Previous: Bryan LarsenNext: Bryan Larsen
Message 3 of 5 in “add write-tree --missing OK, fix cogito -N options”
  1. 0/4 add write-tree --missing OK, fix cogito -N optionsBryan Larsen, Jul 11, 2005
  2. 1/4 bugfix for cg-init: ARGVBryan Larsen, Jul 11, 2005
  3. 2/4 bugfix for cg-init -N: pass -N to cg-commitBryan Larsen, Jul 11, 2005
  4. 3/4 add --missing-ok option to write-treeBryan Larsen, Jul 11, 2005
  5. 4/4 switch cg-commit -N to use --missing-ok instead of --no-checkBryan Larsen, Jul 11, 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.