diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-02 16:00:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 16:00:44 -0700 |
commit | ed73fe56428eecd2b635473f6a517a183c4713a3 (patch) | |
tree | 42b21a016eca79cfee341a1bc0dbf5118acdb01e /log-tree.c | |
parent | 4de1179afcb1105a43cf167b513afda42c4f152d (diff) | |
parent | 499926670665570d785bc7baca4d7cd4420823dc (diff) | |
download | git-ed73fe56428eecd2b635473f6a517a183c4713a3.tar.gz git-ed73fe56428eecd2b635473f6a517a183c4713a3.tar.xz |
Merge branch 'tr/line-log'
* tr/line-log:
git-log(1): remove --full-line-diff description
line-log: fix documentation formatting
log -L: improve comments in process_all_files()
log -L: store the path instead of a diff_filespec
log -L: test merge of parallel modify/rename
t4211: pass -M to 'git log -M -L...' test
log -L: fix overlapping input ranges
log -L: check range set invariants when we look it up
Speed up log -L... -M
log -L: :pattern:file syntax to find by funcname
Implement line-history search (git log -L)
Export rewrite_parents() for 'log -L'
Refactor parse_loc
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/log-tree.c b/log-tree.c index 1946e9ce8..2eb69bcfe 100644 --- a/log-tree.c +++ b/log-tree.c @@ -10,6 +10,7 @@ #include "color.h" #include "gpg-interface.h" #include "sequencer.h" +#include "line-log.h" struct decoration name_decoration = { "object names" }; @@ -796,6 +797,9 @@ int log_tree_commit(struct rev_info *opt, struct commit *commit) log.parent = NULL; opt->loginfo = &log; + if (opt->line_level_traverse) + return line_log_print(opt, commit); + shown = log_tree_diff(opt, commit, &log); if (!shown && opt->loginfo && opt->always_show_header) { log.parent = NULL; |