]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
diff options: Introduce --ignore-submodules
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 14 May 2008 17:03:31 +0000 (18:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 May 2008 23:12:40 +0000 (16:12 -0700)
commit50fd9bd8430a957ea6c6674ce6112f375985abbc
tree1e7243c03179dfef1d7ef7c81cdc1d86159ab53d
parent4b172de81b878cdc8b10803fd0cd79b3ca66a621
diff options: Introduce --ignore-submodules

The new option --ignore-submodules can now be used to ignore changes in
submodules.

Why?  Sometimes it is not interesting when a submodule changed.

For example, when reordering some commits in the superproject, a dirty
submodule is usually totally uninteresting.  So we will use this option
in git-rebase to test for a dirty working tree.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
diff.c
diff.h