diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-10-23 22:21:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-23 22:21:31 +0200 |
commit | 4197361e39a304df30cc492122dbdfe90ae8af0e (patch) | |
tree | e64abbced7f07dab484262d7c0dab12af1abe2d0 /Documentation/technical | |
parent | Merge branch 'jc/pack-objects' (diff) | |
parent | grep: honor --textconv for the case rev:path (diff) | |
download | git-4197361e39a304df30cc492122dbdfe90ae8af0e.tar.xz git-4197361e39a304df30cc492122dbdfe90ae8af0e.zip |
Merge branch 'mg/more-textconv'
Make "git grep" and "git show" pay attention to --textconv when
dealing with blob objects.
* mg/more-textconv:
grep: honor --textconv for the case rev:path
grep: allow to use textconv filters
t7008: demonstrate behavior of grep with textconv
cat-file: do not die on --textconv without textconv filters
show: honor --textconv for blobs
diff_opt: track whether flags have been set explicitly
t4030: demonstrate behavior of show with textconv
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-diff.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/technical/api-diff.txt b/Documentation/technical/api-diff.txt index 2d2ebc04b7..8b001de0db 100644 --- a/Documentation/technical/api-diff.txt +++ b/Documentation/technical/api-diff.txt @@ -28,7 +28,8 @@ Calling sequence * Call `diff_setup_done()`; this inspects the options set up so far for internal consistency and make necessary tweaking to it (e.g. if - textual patch output was asked, recursive behaviour is turned on). + textual patch output was asked, recursive behaviour is turned on); + the callback set_default in diff_options can be used to tweak this more. * As you find different pairs of files, call `diff_change()` to feed modified files, `diff_addremove()` to feed created or deleted files, @@ -115,6 +116,13 @@ Notable members are: operation, but some do not have anything to do with the diffcore library. +`touched_flags`:: + Records whether a flag has been changed due to user request + (rather than just set/unset by default). + +`set_default`:: + Callback which allows tweaking the options in diff_setup_done(). + BINARY, TEXT;; Affects the way how a file that is seemingly binary is treated. |