Improve staged diffs to detect copying and not show unmerged files
commit3abac994b5980c92b9b295d65cb538ccb432d04d
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 26 Apr 2014 16:11:57 +0000 (26 12:11 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 26 Apr 2014 16:11:57 +0000 (26 12:11 -0400)
tree5ffab67c4ada83d79319f107870562c586fa357b
parent6e71260d8773b2639ef7ceb19181fc504b316921
Improve staged diffs to detect copying and not show unmerged files

Unmerged files are already filtered from the status view's staged file
group so they should not be shown in the stage view. By detecting
copying (-C) instead of only renames the status view will show correctly
situations where a file was both renamed and copied.
include/tig/git.h