summaryrefslogtreecommitdiff
path: root/builtin/read-tree.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-03-24 17:36:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-27 09:48:19 -0700
commitfcecf0b968b5e262200426ccf1d0b82495c261fe (patch)
tree065d8eb718453f1b570fd0478edaa3c546e222cd /builtin/read-tree.c
parentsubmodule.c: convert is_submodule_modified to use strbuf_getwholeline (diff)
downloadtgif-fcecf0b968b5e262200426ccf1d0b82495c261fe.tar.xz
submodule.c: port is_submodule_modified to use porcelain 2
Migrate 'is_submodule_modified' to the new porcelain format of git-status. This conversion attempts to convert faithfully, i.e. the behavior ought to be exactly the same. As the output in the parsing only distinguishes between untracked files and the rest, this is easy to port to the new format, as we only need to identify untracked files and the rest is handled in the "else" case. untracked files are indicated by only a single question mark instead of two question marks, so the conversion is easy. Signed-off-by: Stefan Beller <sbeller@google.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/read-tree.c')
0 files changed, 0 insertions, 0 deletions