{"thread":{"id":"16918","subject":"[PATCH] Document git-ls-tree --full-tree","startedAt":"2008-12-29T22:18:18Z","lastAt":"2009-01-01T21:00:28Z","messageCount":4,"participants":["Nanako Shiraishi","Markus Heidelberg","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"98921","messageId":"20081230071818.6117@nanako3.lavabit.com","threadId":"16918","inReplyTo":null,"subject":"[PATCH] Document git-ls-tree --full-tree","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2008-12-29T22:18:18Z","receivedAt":"2008-12-29T22:18:18Z","isPatch":true,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>\n---\n Documentation/git-ls-tree.txt |    8 +++++++-\n 1 files changed, 7 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt\nindex 4c7262f..db6ebcc 100644\n--- a/Documentation/git-ls-tree.txt\n+++ b/Documentation/git-ls-tree.txt\n@@ -10,7 +10,7 @@ SYNOPSIS\n --------\n [verse]\n 'git ls-tree' [-d] [-r] [-t] [-l] [-z]\n-\t    [--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]\n+\t    [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev=[<n>]]\n \t    <tree-ish> [paths...]\n \n DESCRIPTION\n@@ -30,6 +30,8 @@ in the current working directory.  Note that:\n    'sub/dir' in 'HEAD').  You don't want to give a tree that is not at the\n    root level (e.g. 'git ls-tree -r HEAD:sub dir') in this case, as that\n    would result in asking for 'sub/sub/dir' in the 'HEAD' commit.\n+   However, the current working directory can be ignored by passing\n+   --full-tree option.\n \n OPTIONS\n -------\n@@ -66,6 +68,10 @@ OPTIONS\n \tInstead of showing the path names relative to the current working\n \tdirectory, show the full path names.\n \n+--full-tree::\n+\tDo not limit the listing to the current working directory.\n+\tImplies --full-name.\n+\n paths::\n \tWhen paths are given, show them (note that this isn't really raw\n \tpathnames, but rather a list of patterns to match).  Otherwise\n-- \n1.6.1\n\n-- \nNanako Shiraishi\nhttp://ivory.ap.teacup.com/nanako3/\n"},{"id":"98924","messageId":"200812292336.37812.markus.heidelberg@web.de","threadId":"16918","inReplyTo":"20081230071818.6117@nanako3.lavabit.com","subject":"Re: [PATCH] Document git-ls-tree --full-tree","fromName":"Markus Heidelberg","fromEmail":"markus.heidelberg@web.de","sentAt":"2008-12-29T22:36:37Z","receivedAt":"2008-12-29T22:36:37Z","isPatch":true,"sender":{"key":"markus.heidelberg@web.de","avatar":"https://avatars.githubusercontent.com/u/6334512?v=4"},"body":"Nanako Shiraishi, 29.12.2008:\n> diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt\n>  'git ls-tree' [-d] [-r] [-t] [-l] [-z]\n> -\t    [--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]\n> +\t    [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev=[<n>]]\n>  \t    <tree-ish> [paths...]\n\nThis can additionally be done in the usage array in the source.\n\nMarkus\n"},{"id":"99048","messageId":"20081231190050.6117@nanako3.lavabit.com","threadId":"16918","inReplyTo":"200812292336.37812.markus.heidelberg@web.de","subject":"[PATCH] Document git-ls-tree --full-tree","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2008-12-31T10:00:50Z","receivedAt":"2008-12-31T10:00:50Z","isPatch":true,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"\nSigned-off-by: Nanako Shiraishi <nanako3@lavabit.com>\n---\n\nI added the option to ls_tree_usage[] following suggestion by Markus\nHeidelberg <markus.heidelberg@web.de>\n\n Documentation/git-ls-tree.txt |    8 +++++++-\n builtin-ls-tree.c             |    2 +-\n 2 files changed, 8 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt\nindex 4c7262f..db6ebcc 100644\n--- a/Documentation/git-ls-tree.txt\n+++ b/Documentation/git-ls-tree.txt\n@@ -10,7 +10,7 @@ SYNOPSIS\n --------\n [verse]\n 'git ls-tree' [-d] [-r] [-t] [-l] [-z]\n-\t    [--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]\n+\t    [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev=[<n>]]\n \t    <tree-ish> [paths...]\n \n DESCRIPTION\n@@ -30,6 +30,8 @@ in the current working directory.  Note that:\n    'sub/dir' in 'HEAD').  You don't want to give a tree that is not at the\n    root level (e.g. 'git ls-tree -r HEAD:sub dir') in this case, as that\n    would result in asking for 'sub/sub/dir' in the 'HEAD' commit.\n+   However, the current working directory can be ignored by passing\n+   --full-tree option.\n \n OPTIONS\n -------\n@@ -66,6 +68,10 @@ OPTIONS\n \tInstead of showing the path names relative to the current working\n \tdirectory, show the full path names.\n \n+--full-tree::\n+\tDo not limit the listing to the current working directory.\n+\tImplies --full-name.\n+\n paths::\n \tWhen paths are given, show them (note that this isn't really raw\n \tpathnames, but rather a list of patterns to match).  Otherwise\ndiff --git a/builtin-ls-tree.c b/builtin-ls-tree.c\nindex cb61717..4cd624c 100644\n--- a/builtin-ls-tree.c\n+++ b/builtin-ls-tree.c\n@@ -23,7 +23,7 @@ static int chomp_prefix;\n static const char *ls_tree_prefix;\n \n static const char ls_tree_usage[] =\n-\t\"git ls-tree [-d] [-r] [-t] [-l] [-z] [--name-only] [--name-status] [--full-name] [--abbrev[=<n>]] <tree-ish> [path...]\";\n+\t\"git ls-tree [-d] [-r] [-t] [-l] [-z] [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev[=<n>]] <tree-ish> [path...]\";\n \n static int show_recursive(const char *base, int baselen, const char *pathname)\n {\n-- \n1.6.1\n\n-- \nNanako Shiraishi\nhttp://ivory.ap.teacup.com/nanako3/\n"},{"id":"99106","messageId":"7vljtuivwz.fsf@gitster.siamese.dyndns.org","threadId":"16918","inReplyTo":"20081231190050.6117@nanako3.lavabit.com","subject":"Re: [PATCH] Document git-ls-tree --full-tree","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-01-01T21:00:28Z","receivedAt":"2009-01-01T21:00:28Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}