git-difftool: never add changes to the index
commitc75a69581a3f7839a1b00fec54852d77fcbc7e6f
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Oct 2008 06:21:43 +0000 (9 23:21 -0700)
committerDavid Aguilar <davvid@gmail.com>
Fri, 10 Oct 2008 06:21:43 +0000 (9 23:21 -0700)
tree8e876147e9612f36e7d4a7f511ed5e2388f1bf7f
parent2a7cbdea3315964fa81410b8ae89fc34b829830f
git-difftool: never add changes to the index

The safest thing to do is to never change the state of the index.
This effectively makes git-difftool a read-only viewer, though the user
always has the option of saving to $MERGED if they want to.

Signed-off-by: David Aguilar <davvid@gmail.com>
bin/git-difftool
share/doc/cola/git-difftool.txt