summaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2019-02-04 10:36:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-04 20:39:13 (GMT)
commit9fce19a431d9fa9cbd8033a1961d3a1f579b6295 (patch)
tree1445065b5f7566f52618c04ecaf2c914d51a72ea /fetch-pack.c
parent98cdfbb84ad2ed6a2eb43dafa357a70a4b0a0fad (diff)
downloadgit-9fce19a431d9fa9cbd8033a1961d3a1f579b6295.zip
git-9fce19a431d9fa9cbd8033a1961d3a1f579b6295.tar.gz
git-9fce19a431d9fa9cbd8033a1961d3a1f579b6295.tar.bz2
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 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions