提交 31a8d196 编写于 作者: S Shawn O. Pearce

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: NShawn O. Pearce <spearce@spearce.org>
上级 b4b491e3
......@@ -1447,10 +1447,7 @@ proc write_update_indexinfo {fd pathList totalCnt batch msg after} {
set info [lindex $s 2]
if {$info eq {}} continue
puts -nonewline $fd $info
puts -nonewline $fd "\t"
puts -nonewline $fd $path
puts -nonewline $fd "\0"
puts -nonewline $fd "$info\t$path\0"
display_file $path $new
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册