Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 20:25:28 +0000 (12:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 20:25:28 +0000 (12:25 -0800)
Hotfix for recent regression while talking to upload-pack
in a repository with many symbolic refs.

* maint:
Revert "upload-pack: send non-HEAD symbolic refs"

1  2 
upload-pack.c
diff --combined upload-pack.c
index 43342ac161952f5c03c7b737231c4c664b7513a7,a020d30480cf0687768c84b429f048b28e5026c5..c989a737f975b3aef41ffb9f6ec669ce3b2f2c2b
@@@ -10,7 -10,6 +10,7 @@@
  #include "revision.h"
  #include "list-objects.h"
  #include "run-command.h"
 +#include "connect.h"
  #include "sigchain.h"
  #include "version.h"
  #include "string-list.h"
@@@ -753,7 -752,6 +753,6 @@@ static void upload_pack(void
        struct string_list symref = STRING_LIST_INIT_DUP;
  
        head_ref_namespaced(find_symref, &symref);
-       for_each_namespaced_ref(find_symref, &symref);
  
        if (advertise_refs || !stateless_rpc) {
                reset_timeout();