OSDN Git Service

builtin/describe.c: print debug statements earlier
authorStefan Beller <sbeller@google.com>
Thu, 16 Nov 2017 02:00:37 +0000 (18:00 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Nov 2017 02:12:51 +0000 (11:12 +0900)
commitcdaed0cf023a47cae327671fae11c10d88100ee7
tree0724e7266cb60be846d522461b5c7d64f97d10a3
parentc87b653c46c4455561642b14efc8920a0b3e44b9
builtin/describe.c: print debug statements earlier

When debugging, print the received argument at the start of the
function instead of in the middle. This ensures that the received
argument is printed in all code paths, and also allows a subsequent
refactoring to not need to move the "arg" parameter.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/describe.c