Merge branch 'sb/submodule-short-status' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 06:38:23 +0000 (23:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 06:38:24 +0000 (23:38 -0700)
commit24e18f4a4a14f74884eeb1cd94f45f39ddf07e37
tree3d6a000fe3916546ac10ed76988e3450db5ef524
parent0040a91b86a275820af519d4df9851d0845f220b
parent40069d6e3a195c8c2414ea60ed75b84ae47f88a1
Merge branch 'sb/submodule-short-status' into next

The output from "git status --short" has been extended to show
various kinds of dirtyness in submodules differently; instead of to
"M" for modified, 'm' and '?' can be shown to signal changes only
to the working tree of the submodule but not the commit that is
checked out.

* sb/submodule-short-status:
  submodule.c: correctly handle nested submodules in is_submodule_modified
  short status: improve reporting for submodule changes
  submodule.c: stricter checking for submodules in is_submodule_modified
  submodule.c: port is_submodule_modified to use porcelain 2
  submodule.c: convert is_submodule_modified to use strbuf_getwholeline
  submodule.c: factor out early loop termination in is_submodule_modified
  submodule.c: use argv_array in is_submodule_modified
submodule.c
t/t3600-rm.sh