git-add.txt: document 'interactive.singlekey'

This is documented in the section about the 'Interactive Mode', rather than for the option '--patch', since this is the section is where people go to learn about '--patch'. Helped-by: Jeff King <peff@peff.net> Mentored-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Valentin Haenel <valentin.haenel@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Valentin Haenel committed May 5, 2011 at 20:48 UTC c105356ed4636167b96526cd41e2cbaca051432c
1 file changed +5 -1
Documentation/git-add.txt
+5 -1
@@ -272,7 +272,8 @@ patch::
272 This lets you choose one path out of a 'status' like selection.
273 After choosing the path, it presents the diff between the index
274 and the working tree file and asks you if you want to stage
275 - the change of each hunk. You can say:
275 + the change of each hunk. You can select one of the following
276 + options and type return:
277
278 y - stage this hunk
279 n - do not stage this hunk
@@ -291,6 +292,9 @@ patch::
292 +
293 After deciding the fate for all hunks, if there is any hunk
294 that was chosen, the index is updated with the selected hunks.
295 ++
296 +You can omit having to type return here, by setting the configuration
297 +variable `interactive.singlekey` to `true`.
298
299 diff::
300