guicmds: Use diff_filenames() in diff_branch()
commit6404585251d74d755d7195a73aa7a00889c6e0c2
authorDavid Aguilar <davvid@gmail.com>
Wed, 23 Nov 2011 09:09:30 +0000 (23 01:09 -0800)
committerDavid Aguilar <davvid@gmail.com>
Wed, 23 Nov 2011 09:39:42 +0000 (23 01:39 -0800)
tree048c8d541ccfd7d9fcba31ddd23b688b2b732dce
parenta48e3599011e6385bc1a98e5d491390012c73144
guicmds: Use diff_filenames() in diff_branch()

Replace 'git diff' with a call to diff_filenames().
Handle the empty-diff case as well by presenting a error message.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/guicmds.py