OSDN Git Service

Merge branch 'jk/diff-submodule-diff-inline'
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2016 22:34:31 +0000 (15:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2016 22:34:31 +0000 (15:34 -0700)
The "git diff --submodule={short,log}" mechanism has been enhanced
to allow "--submodule=diff" to show the patch between the submodule
commits bound to the superproject.

* jk/diff-submodule-diff-inline:
  diff: teach diff to display submodule difference with an inline diff
  submodule: refactor show_submodule_summary with helper function
  submodule: convert show_submodule_summary to use struct object_id *
  allow do_submodule_path to work even if submodule isn't checked out
  diff: prepare for additional submodule formats
  graph: add support for --line-prefix on all graph-aware output
  diff.c: remove output_prefix_length field
  cache: add empty_tree_oid object and helper function

1  2 
cache.h
diff.c
diff.h
path.c
sha1_file.c

diff --cc cache.h
Simple merge
diff --cc diff.c
Simple merge
diff --cc diff.h
Simple merge
diff --cc path.c
Simple merge
diff --cc sha1_file.c
Simple merge