110 Commits (431b1969fcde69959a23355fba6894fb69c8fa0c)

Author SHA1 Message Date
Junio C Hamano 9326d49412 Remove total confusion from git-fetch and git-push 16 years ago
Benjamin Kramer 8e76bf3fc9 Remove unused assignments 16 years ago
Daniel Barkalow fa685bdf45 Give error when no remote is configured 16 years ago
Daniel Barkalow abd2bde78b Support '*' in the middle of a refspec 16 years ago
Daniel Barkalow 08fbdb3043 Keep '*' in pattern refspecs 16 years ago
Daniel Barkalow e928213fb4 Use the matching function to generate the match results 16 years ago
Daniel Barkalow a3c8423901 Use a single function to match names against patterns 16 years ago
Jeff King fbb074c253 remote: make guess_remote_head() use exact HEAD lookup if it is available 16 years ago
Jay Soffian 5f48cb95aa remote: make match_refs() not short-circuit 16 years ago
Jay Soffian cdf690e53b remote: make match_refs() copy src ref before assigning to peer_ref 16 years ago
Jay Soffian 4229f1fa32 remote: let guess_remote_head() optionally return all matches 16 years ago
Jay Soffian 7b3db095d5 remote: make copy_ref() perform a deep copy 16 years ago
Jay Soffian 6cb4e6cc0f remote: simplify guess_remote_head() 16 years ago
Jay Soffian 8ef517337d move locate_head() to remote.c 16 years ago
Jay Soffian ec8452d5a7 move duplicated ref_newer() to remote.c 16 years ago
Jay Soffian 454e2025a9 move duplicated get_local_heads() to remote.c 16 years ago
Alexander Potashev 8ca12c0d62 add is_dot_or_dotdot inline function 16 years ago
Martin Koegler 18afe101eb git push: Interpret $GIT_DIR/branches in a Cogito compatible way 16 years ago
Miklos Vajna 89cf4c7004 remote: add a new 'origin' variable to the struct 16 years ago
René Scharfe 59c69c0c65 make alloc_ref_from_str() the new alloc_ref() 16 years ago
René Scharfe b0b44bc7b2 use alloc_ref_from_str() everywhere 16 years ago
René Scharfe 8009768e89 add alloc_ref_with_prefix() 16 years ago
Brandon Casey c82efafcfa remote.c: correct the check for a leading '/' in a remote name 16 years ago
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 16 years ago
Brandon Casey 19d4b416f4 Replace xmalloc/memset(0) pairs with xcalloc 16 years ago
Nanako Shiraishi 697d7f5dad remote.c: make free_ref(), parse_push_refspec() and free_refspecs() static. 16 years ago
Dotan Barak e8eec71d6e Use xmalloc() and friends to catch allocation failures 17 years ago
Brandon Casey 2cb1f36d50 remote.c: add a function for deleting a refspec array and use it (twice) 17 years ago
Jim Meyering c71e917975 remote.c: remove useless if-before-free test 17 years ago
Junio C Hamano b2a5627651 make sure parsed wildcard refspec ends with slash 17 years ago
Junio C Hamano 47c6ef1c8d make sure parsed wildcard refspec ends with slash 17 years ago
Avery Pennarun 4de53ce043 Reword "your branch has diverged..." lines to reduce line length 17 years ago
Junio C Hamano c0234b2ef6 stat_tracking_info(): clear object flags used during counting 17 years ago
Junio C Hamano 6d21bf96b5 Refactor "tracking statistics" code used by "git checkout" 17 years ago
Jeff King 9a7bbd1dd1 clean up error conventions of remote.c:match_explicit 17 years ago
Johannes Schindelin ef90d6d420 Provide git_config with a callback-data parameter 17 years ago
Krzysztof Kowalczyk 737922aa64 alloc_ref_from_str(): factor out a common pattern of alloc_ref from string 17 years ago
Daniel Barkalow e0aaa29ff3 Have a constant extern refspec for "--tags" 17 years ago
Paolo Bonzini a83619d692 add special "matching refs" refspec 17 years ago
Daniel Barkalow be885d96fe Make ls-remote http://... list HEAD, like for git://... 17 years ago
Jeff King f8aae12034 push: allow unqualified dest refspecs to DWIM 17 years ago
Paolo Bonzini 84bb2dfd9f Add a remote.*.mirror configuration option 17 years ago
Jonas Fonseca 24b6177e02 git-remote: reject adding remotes with invalid names 17 years ago
Daniel Barkalow 60e3aba9c3 Fix config key miscount in url.*.insteadOf 17 years ago
Daniel Barkalow 472fa4cd33 Fix branches file configuration 17 years ago
Daniel Barkalow c091b3d415 Tighten refspec processing 17 years ago
Junio C Hamano 7d19da46fd refspec: allow colon-less wildcard "refs/category/*" 17 years ago
Junio C Hamano 46220ca100 remote.c: Fix overtight refspec validation 17 years ago
Daniel Barkalow ef00d150e4 Tighten refspec processing 17 years ago
Johannes Schindelin 211c89682e Make git-remote a builtin 17 years ago