Code

clone.c: move more code into the "if (refs)" conditional
authorMichael Haggerty <mhagger@alum.mit.edu>
Sat, 11 Feb 2012 06:20:56 +0000 (07:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 03:50:39 +0000 (19:50 -0800)
commit5b05795c4cdf39348c18e40c12e70bd00a7192e5
treea2bc655a3c3794843ebfbb2569eeca7ed26258a1
parentacede2ebc939f312058ab7aa15e9ede71029ee85
clone.c: move more code into the "if (refs)" conditional

The bahavior of a bunch of code before the "if (refs)" statement also
depends on whether refs is set, so make the logic clearer by shifting
this code into the if statement.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c