mirror of
https://github.com/git/git.git
synced 2024-10-07 03:22:15 +02:00
52e9578985
This steals the "pickaxe" feature from JIT and make it available to the bare Plumbing layer. From the command line, the user gives a string he is intersted in. Using the diff-core infrastructure previously introduced, it filters the differences to limit the output only to the diffs between <src> and <dst> where the string appears only in one but not in the other. For example: $ ./git-rev-list HEAD | ./git-diff-tree -Sdiff-tree-helper --stdin -M would show the diffs that touch the string "diff-tree-helper". In real software-archaeologist application, you would typically look for a few to several lines of code and see where that code came from. The "pickaxe" module runs after "rename/copy detection" module, so it even crosses the file rename boundary, as the above example demonstrates. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
diff-format.txt | ||
git-apply-patch-script.txt | ||
git-cat-file.txt | ||
git-check-files.txt | ||
git-checkout-cache.txt | ||
git-commit-tree.txt | ||
git-convert-cache.txt | ||
git-diff-cache.txt | ||
git-diff-files.txt | ||
git-diff-helper.txt | ||
git-diff-tree.txt | ||
git-export.txt | ||
git-fsck-cache.txt | ||
git-http-pull.txt | ||
git-init-db.txt | ||
git-local-pull.txt | ||
git-ls-files.txt | ||
git-ls-tree.txt | ||
git-merge-base.txt | ||
git-merge-cache.txt | ||
git-merge-one-file-script.txt | ||
git-mktag.txt | ||
git-prune-script.txt | ||
git-pull-script.txt | ||
git-read-tree.txt | ||
git-resolve-script.txt | ||
git-rev-list.txt | ||
git-rev-tree.txt | ||
git-rpull.txt | ||
git-rpush.txt | ||
git-tag-script.txt | ||
git-tar-tree.txt | ||
git-unpack-file.txt | ||
git-update-cache.txt | ||
git-write-blob.txt | ||
git-write-tree.txt | ||
git.txt | ||
Makefile |