]> rtime.felk.cvut.cz Git - git.git/blobdiff - Documentation/git.txt
Sync with 1.8.5.5
[git.git] / Documentation / git.txt
index 64da795aba252d53e9fd9c11e6eb7d39397ff805..795015269bbdfe85c65c04a2895c9d7d64778ddf 100644 (file)
@@ -810,6 +810,15 @@ temporary file --- it is removed when 'GIT_EXTERNAL_DIFF' exits.
 +
 For a path that is unmerged, 'GIT_EXTERNAL_DIFF' is called with 1
 parameter, <path>.
++
+For each path 'GIT_EXTERNAL_DIFF' is called, two environment variables,
+'GIT_DIFF_PATH_COUNTER' and 'GIT_DIFF_PATH_TOTAL' are set.
+
+'GIT_DIFF_PATH_COUNTER'::
+       A 1-based counter incremented by one for every path.
+
+'GIT_DIFF_PATH_TOTAL'::
+       The total number of paths.
 
 other
 ~~~~~