gitcmds: improve detection of untracked diffing
commit9f15a96aebc1e15a7d6d3712396ac6e2b0c62d0d
authorDavid Aguilar <davvid@gmail.com>
Sat, 10 Jul 2021 21:36:47 +0000 (10 14:36 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 10 Jul 2021 21:42:41 +0000 (10 14:42 -0700)
treeceae3c3bc69836630dd0cba7551e664cea7ca95e
parent944d13985a594925391eda2af2d2604132ab975f
gitcmds: improve detection of untracked diffing

Detect "new file mode " on the 2nd line only.

Related-to: #1146
Related-to: #1084
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/gitcmds.py