git-gui: Cleanup diff construction code to prepare for more options.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 23:51:38 +0000 (18:51 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:10:39 +0000 (00:10 -0500)
commitfd2656fdfe575b55424b672f8bc274bf86526b9e
treeeb0ea99dbdcaeabe6fabeb67cb428d282f68d4a4
parent2cbe5577a0e83ae7368eb2202ffe62c1d607b0bb
git-gui: Cleanup diff construction code to prepare for more options.

I'd like to allow the user to have more control over how we format
the diff in the diff viewer; to that end we need to add additional
options to the diff-index command line as we construct the command
for execution.

So cleanup the command handling code now to use lappend so we can
come back and add in our additional options.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui