summaryrefslogtreecommitdiff
path: root/t/lib-patch-mode.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-08-24 14:23:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-11 14:47:46 -0700
commitb9e62f60115c75c5be5de593862925c8b8d7e683 (patch)
treee40451c0ce8274ff14063aa6c91173aeb4c9d661 /t/lib-patch-mode.sh
parentcat-file: fix a grammo in the man page (diff)
downloadtgif-b9e62f60115c75c5be5de593862925c8b8d7e683.tar.xz
cat-file: introduce the --filters option
The --filters option applies the convert_to_working_tree() filter for the path when showing the contents of a regular file blob object; the contents are written out as-is for other types of objects. This feature comes in handy when a 3rd-party tool wants to work with the contents of files from past revisions as if they had been checked out, but without detouring via temporary files. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-patch-mode.sh')
0 files changed, 0 insertions, 0 deletions