Update draft release notes to 1.6.6 before -rc1
[gitweb.git] / Documentation / git-upload-pack.txt
index b2c9307661ebff26269cf3802a06490e0f1ba165..63f3b5c7425cd0b76a6931d92872424310f5fbce 100644 (file)
@@ -3,12 +3,12 @@ git-upload-pack(1)
 
 NAME
 ----
-git-upload-pack - Send missing objects packed
+git-upload-pack - Send objects packed back to git-fetch-pack
 
 
 SYNOPSIS
 --------
-'git-upload-pack' <directory>
+'git upload-pack' [--strict] [--timeout=<n>] <directory>
 
 DESCRIPTION
 -----------
@@ -20,9 +20,18 @@ The UI for the protocol is on the 'git-fetch-pack' side, and the
 program pair is meant to be used to pull updates from a remote
 repository.  For push operations, see 'git-send-pack'.
 
+After finishing the operation successfully, `post-upload-pack`
+hook is called (see linkgit:githooks[5]).
 
 OPTIONS
 -------
+
+--strict::
+       Do not try <directory>/.git/ if <directory> is no git directory.
+
+--timeout=<n>::
+       Interrupt transfer after <n> seconds of inactivity.
+
 <directory>::
        The repository to sync from.
 
@@ -36,4 +45,4 @@ Documentation by Junio C Hamano.
 
 GIT
 ---
-Part of the gitlink:git[7] suite
+Part of the linkgit:git[1] suite