Subject: [PATCH v2] INSTALL: Update section on external dependencies

From: Johan Herland <[email-masked]>
Date: Wed, 03 Oct 2007 10:27:48 +0200

Includes:
- Mention dependency on "core" utilities, including coreutils, sed, cut, grep
- Mention dependency on cpio
- Fix up some whitespace and linebreaking issues

Signed-off-by: Johan Herland <[email-masked]>
---

On Wednesday 03 October 2007, Miklos Vajna wrote:
> On Tue, Oct 02, 2007 at 05:14:25PM -0700, Junio C Hamano <[email-masked]> wrote:
> > Are there other commands we rely on that may not be universally
> > installed?  I myself consider "cut" to be in the category, but
> > other than that I do not think of anything offhand.
> 
> when using git in a chroot, i obviously had coreutils/sed/grep installed
> and the only "extra" package i needed (besides the curl an openssl libs)
> was cpio

Ok, here's a more complete patch.

...Johan

 INSTALL |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/INSTALL b/INSTALL
index 289b046..244470f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -54,6 +54,8 @@ Issues of note:
  - Git is reasonably self-sufficient, but does depend on a few external
    programs and libraries:
 
+	- Common "core" utilities including coreutils, sed, cut, and grep.
+
 	- "zlib", the compression library. Git won't build without it.
 
 	- "openssl".  Unless you specify otherwise, you'll get the SHA1
@@ -63,22 +65,24 @@ Issues of note:
 	  that come with git (git includes the one from Mozilla, and has
 	  its own PowerPC and ARM optimized ones too - see the Makefile).
 
-	- "libcurl" and "curl" executable.  git-http-fetch and
-	  git-fetch use them.  If you do not use http
-	  transfer, you are probably OK if you do not have
-	  them.
+	- "libcurl" and "curl" executable.  git-http-fetch and git-fetch
+	  use them.  If you do not use http transfer, you are probably OK
+	  if you do not have them.
 
 	- expat library; git-http-push uses it for remote lock
 	  management over DAV.  Similar to "curl" above, this is optional.
 
-        - "wish", the Tcl/Tk windowing shell is used in gitk to show the
-          history graphically, and in git-gui.
+	- "wish", the Tcl/Tk windowing shell is used in gitk to show the
+	  history graphically, and in git-gui.
 
-	- "ssh" is used to push and pull over the net
+	- "ssh" is used to push and pull over the net.
 
 	- "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