Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.
[git.git] / Documentation / git-checkout-index.txt
index 97eef22..2a1e526 100644 (file)
@@ -8,8 +8,9 @@ git-checkout-index - Copy files from the index to the working directory
 
 SYNOPSIS
 --------
+[verse]
 'git-checkout-index' [-u] [-q] [-a] [-f] [-n] [--prefix=<string>]
-                  [--] <file>...
+                  [--stage=<number>] [--] <file>...
 
 DESCRIPTION
 -----------
@@ -40,6 +41,10 @@ OPTIONS
        When creating files, prepend <string> (usually a directory
        including a trailing /)
 
+--stage=<number>::
+       Instead of checking out unmerged entries, copy out the
+       files from named stage.  <number> must be between 1 and 3.
+
 --::
        Do not interpret any more arguments as options.