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

[PATCH] Mention 'cpio' dependency in INSTALL

From
Johan Herland <johan@herland.net>
Date
Oct 2, 2007, 23:42 UTC
Message-ID
<200710030142.30062.johan@herland.net>
In-Reply-To
<3f4fd2640710021409q104a4204r522391912d5b5c8c@mail.gmail.com>
Signed-off-by: Johan Herland <johan@herland.net>
---
On Tuesday 02 October 2007, Reece Dunn wrote:
> Do you know if cpio is listed anywhere in required dependencies?

Doing the following in the git repo: $ grep -r cpio * git-clone.sh: find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1 git-merge.sh: cpio -0 -o >"$GIT_DIR/MERGE_SAVE" git-merge.sh: cpio -iuv <"$GIT_DIR/MERGE_SAVE"

reveals that cpio is not mentioned anywhere in the documentation, nor in the requirements section of the INSTALL file.

Have fun!
...Johan
 INSTALL |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/INSTALL b/INSTALL
index 289b046..f1eb404 100644
--- a/INSTALL
+++ b/INSTALL
@@ -79,6 +79,9 @@ Issues of note:
 	- "perl" and POSIX-compliant shells are needed to use most of
 	  the barebone Porcelainish scripts.
 
+	- "cpio" is used by git-merge for saving and restoring the index,
+	  and by git-clone when doing a local (possibly hardlinked) clone.
+
  - Some platform specific issues are dealt with Makefile rules,
    but depending on your specific installation, you may not
    have all the libraries/tools needed, or you may have
-- 
1.5.3.3.1144.gf10f2
Previous: Reece DunnNext: Junio C Hamano
Message 4 of 14 in “git clone questions relating to cpio”
  1. Reece DunnOct 1, 2007
  2. Johan HerlandOct 1, 2007
  3. Reece DunnOct 2, 2007
  4. Mention 'cpio' dependency in INSTALLJohan Herland, Oct 2, 2007
  5. Junio C HamanoOct 3, 2007
  6. Chris LarsonOct 3, 2007
  7. Miklos VajnaOct 3, 2007
  8. INSTALL: Update section on external dependenciesJohan Herland, Oct 3, 2007
  9. Johannes SchindelinOct 3, 2007
  10. Shawn O. PearceOct 3, 2007
  11. Johannes SchindelinOct 1, 2007
  12. Junio C HamanoOct 1, 2007
  13. Johannes SixtOct 2, 2007
  14. Junio C HamanoOct 2, 2007

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.