130 Commits (cfe370c6476392095bc3f18013d195b1cccd6184)

Author SHA1 Message Date
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. 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