git-gui: Simplify printing of index info to update-index.
During unstaging we can simplify the way we perform the output by combining our four puts into a single call. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Jan 20, 2007 at 23:35 UTC
31a8d1968ed12c0b98c1c34d789a66f54ecbbc13
1 file changed
+1
-4
git-gui.sh
+1
-4
@@ -1447,10 +1447,7 @@ proc write_update_indexinfo {fd pathList totalCnt batch msg after} {
1447
set info [lindex $s 2]
1448
if {$info eq {}} continue
1449
1450
- puts -nonewline $fd $info
1451
- puts -nonewline $fd "\t"
1452
- puts -nonewline $fd $path
1453
- puts -nonewline $fd "\0"
1450
+ puts -nonewline $fd "$info\t$path\0"
1451
display_file $path $new
1452
}
1453