dag: Do not prompt for files if a path has already been entered
commit4a120d7481cecd50f765cd96c912ff266c49c9bd
authorDavid Aguilar <davvid@gmail.com>
Thu, 22 Dec 2011 10:41:37 +0000 (22 02:41 -0800)
committerDavid Aguilar <davvid@gmail.com>
Thu, 22 Dec 2011 10:41:37 +0000 (22 02:41 -0800)
treee9099443803367a9e93ca548e5ddaa0659a39832
parent73d19eb41e75cde446bd1ce1bc4566ebd0239ad6
dag: Do not prompt for files if a path has already been entered

Detect when file paths are entered into the DAG widget and hand
them directly to git-difftool instead of asking the user to select
from all the files that differ between commits A and B.

This makes it much easier to inspect the history of one or more
files since they will automatically get diffed instead of having
to continually select them.

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