Merge branch 'qq/maint'
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2008 09:09:38 +0000 (02:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2008 09:09:38 +0000 (02:09 -0700)
* qq/maint:
mailinfo: feed the correct line length to decode_transfer_encoding()
git-clone: remove leftover debugging fprintf().

1  2 
builtin-clone.c
diff --combined builtin-clone.c
index 643c7d41697868456c94f879bd3357b91744f4db,7bcc664e44cb684e150221e9c9c4d0fe54357011..4a0f1ab8ac427e91f4efa1fa43c95a30ca256f11
@@@ -18,7 -18,6 +18,7 @@@
  #include "transport.h"
  #include "strbuf.h"
  #include "dir.h"
 +#include "pack-refs.h"
  
  /*
   * Overall FIXMEs:
@@@ -322,11 -321,8 +322,11 @@@ static struct ref *write_remote_refs(co
        get_fetch_map(refs, tag_refspec, &tail, 0);
  
        for (r = local_refs; r; r = r->next)
 -              update_ref(reflog,
 -                         r->peer_ref->name, r->old_sha1, NULL, 0, DIE_ON_ERR);
 +              add_extra_ref(r->peer_ref->name, r->old_sha1, 0);
 +
 +      pack_refs(PACK_REFS_ALL);
 +      clear_extra_refs();
 +
        return local_refs;
  }
  
@@@ -421,7 -417,6 +421,6 @@@ int cmd_clone(int argc, const char **ar
                die("could not create leading directories of '%s'", git_dir);
        set_git_dir(make_absolute_path(git_dir));
  
-       fprintf(stderr, "Initialize %s\n", git_dir);
        init_db(option_template, option_quiet ? INIT_DB_QUIET : 0);
  
        /*