ll-merge: simplify opts == NULL case
authorJonathan Nieder <redacted>
Sun, 16 Jan 2011 01:08:42 +0000 (19:08 -0600)
committerJunio C Hamano <redacted>
Sun, 16 Jan 2011 04:34:14 +0000 (20:34 -0800)
commit4fb40c2b8206f7bdffedd8d58d2f9c031227b01b
tree1a14bbf5c9369ebe428dc09ba0677bf1642c3ea8
parentadf872e7837cc92e390f00ee32f32c5639d3a444
ll-merge: simplify opts == NULL case

As long as sizeof(struct ll_merge_options) is small, there is not
much reason not to keep a copy of the default merge options in the BSS
section.  In return, we get clearer code and one less stack frame in
the opts == NULL case.

Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
ll-merge.c
git clone https://git.99rst.org/PROJECT