summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
454e8ab)
It used to make the markers for the files dissappear entirely, with this
change the files that are added with `--intend-to-add` are marked as
both added(+) and modified(*).
[[ "$line" == 2\ R[.MTD]\ * ]] && (( renamed++ ))
# work tree
[[ "$line" == 2\ R[.MTD]\ * ]] && (( renamed++ ))
# work tree
+ [[ "$line" == 1\ [.MARCT]A\ * ]] && (( added++ , modified++ )) # intend-to-add
[[ "$line" == 1\ [.MARCT]M\ * ]] && (( modified++ ))
[[ "$line" == 1\ [.MARCT]D\ * ]] && (( deleted_wt++ ))
[[ "$line" == \?\ * ]] && (( untracked++ ))
[[ "$line" == 1\ [.MARCT]M\ * ]] && (( modified++ ))
[[ "$line" == 1\ [.MARCT]D\ * ]] && (( deleted_wt++ ))
[[ "$line" == \?\ * ]] && (( untracked++ ))