@matheusbsbs / matheus-bagliano / commits / 08918e4a38
Fork 0

add: describe --patch like checkout, reset

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Feb 15, 2011 at 14:09 UTC 08918e4a38e7aff66077b6325e5b69a4a4e02abf
1 file changed +1 -1
builtin/add.c
+1 -1
@@ -317,7 +317,7 @@ static struct option builtin_add_options[] = {
317 OPT__VERBOSE(&verbose, "be verbose"),
318 OPT_GROUP(""),
319 OPT_BOOLEAN('i', "interactive", &add_interactive, "interactive picking"),
320 - OPT_BOOLEAN('p', "patch", &patch_interactive, "interactive patching"),
320 + OPT_BOOLEAN('p', "patch", &patch_interactive, "select hunks interactively"),
321 OPT_BOOLEAN('e', "edit", &edit_interactive, "edit current diff and apply"),
322 OPT__FORCE(&ignored_too, "allow adding otherwise ignored files"),
323 OPT_BOOLEAN('u', "update", &take_worktree_changes, "update tracked files"),