diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2019-02-04 11:36:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-04 12:39:13 -0800 |
commit | 9fce19a431d9fa9cbd8033a1961d3a1f579b6295 (patch) | |
tree | 1445065b5f7566f52618c04ecaf2c914d51a72ea /builtin/show-branch.c | |
parent | Git 2.19.2 (diff) | |
download | tgif-9fce19a431d9fa9cbd8033a1961d3a1f579b6295.tar.xz |
diff-tree doc: correct & remove wrong documentation
The documentation saying that diff-tree didn't support anything except
literal prefixes hasn't been true since
d38f28093e ("tree_entry_interesting(): support wildcard matching",
2010-12-15), but this documentation was not updated at the time.
Since this command uses pathspecs like most other commands, there's no
need to show examples of how the various "cmd <revs> <paths>"
invocations work.
Furthermore, the "git diff-tree --abbrev 5319e4" example shown here
never worked. We'd ended up with that through a combination of
62b42d3487 ("docs: fix some antique example output", 2011-05-26) and
ac4e086929 ("Adjust core-git documentation to more recent Linus GIT.",
2005-05-05), but "git diff-tree <tree>" was always invalid.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/show-branch.c')
0 files changed, 0 insertions, 0 deletions