138 Commits (9f3d54d193d9edcf443c9dd62789af5e8e47635c)

Author SHA1 Message Date
Julian Phillips 95c96d48e6 remote: fix use-after-free error detected by glibc in ref_remove_duplicates 15 years ago
Jay Soffian f2ef6075c9 remote: refactor some logic into get_stale_heads() 15 years ago
Björn Gustavsson 7cc91a2f71 Add the configuration option skipFetchAll 15 years ago
Julian Phillips 73cf0822b2 remote: Make ref_remove_duplicates faster for large numbers of refs 15 years ago
Josh Triplett 1c2eafb89b Add url.<base>.pushInsteadOf: URL rewriting for push only 16 years ago
Josh Triplett d071d94296 Wrap rewrite globals in a struct in preparation for adding another set 16 years ago
Brian Gianforcaro eeefa7c90e Style fixes, add a space after if/for/while. 16 years ago
Linus Torvalds 2af202be3d Fix various sparse warnings in the git source code 16 years ago
Clemens Buchacher 3eb9699733 fetch: do not create ref from empty name 16 years ago
Michael J Gruber 203462347f Allow push and fetch urls to be different 16 years ago
Clemens Buchacher 6d2bf96e55 match_refs: search ref list tail internally 16 years ago
Michael J Gruber 57ffc5f85a Fix behavior with non-commit upstream references 16 years ago
Johannes Sixt cd294bc3f3 remote.c: do not trigger remote.<name>.<var> codepath for two-level names 16 years ago
Junio C Hamano 8fbf879ed7 Revert "stat_tracking_info(): only count real commits" 16 years ago
Michael J Gruber 45972ffbed remote.c: use shorten_unambiguous_ref 16 years ago
Nguyễn Thái Ngọc Duy 55f0566f6d get_local_heads(): do not return random pointer if there is no head 16 years ago
Finn Arne Gangstad 9a23ba3375 remote: New function remote_is_configured() 16 years ago
Michael J Gruber 5e6e2b487e Make local branches behave like remote branches when --tracked 16 years ago
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
Kjetil Barvik 19de5d6913 stat_tracking_info(): only count real commits 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. 17 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