fetch-pack.c: use oidset to check existence of loose object
[gitweb.git] / builtin / checkout.c
index a52af2e50705312a6d42df8667bbe4f5dfab8c86..8f4dfb104662baa3f32c350cf58e0f2b797dff29 100644 (file)
@@ -609,7 +609,7 @@ static void report_tracking(struct branch_info *new_branch_info)
        struct strbuf sb = STRBUF_INIT;
        struct branch *branch = branch_get(new_branch_info->name);
 
-       if (!format_tracking_info(branch, &sb))
+       if (!format_tracking_info(branch, &sb, AHEAD_BEHIND_FULL))
                return;
        fputs(sb.buf, stdout);
        strbuf_release(&sb);