diff: avoid some nesting
commitaad90e85f8e6368533aa30c072b8e2bd7adafa53
authorThomas Gummerer <t.gummerer@gmail.com>
Mon, 16 Dec 2013 20:19:24 +0000 (16 21:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2013 21:13:05 +0000 (16 13:13 -0800)
treee05dda1f4895e681146ac2b2eb7705ac5208c06f
parent8a19dfa1aa5bbbc6e3ea8553e418ad4f78448cb3
diff: avoid some nesting

Avoid some nesting in builtin/diff.c, to make the code easier to read.
There are no functional changes.

Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff.c