101 Commits (eb67052b132cc6ebfeed78fc74d2e4ef40390e7f)

Author SHA1 Message Date
Michael Haggerty a122366d69 prune_remote(): use delete_refs() 10 years ago
Michael Haggerty 98ffd5ff67 delete_refs(): new function for the refs API 10 years ago
Michael Haggerty b4c4af832b remove_branches(): remove temporary 10 years ago
Michael Haggerty 53dc95b5cf builtin/remote: rewrite functions to take object_id arguments 10 years ago
Michael Haggerty e26cdf91c1 add_branch_for_removal(): don't set "util" field of string_list entries 10 years ago
Michael Haggerty 45690a57a3 add_branch_for_removal(): rewrite to take an object_id argument 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
Alex Henrie 9c9b4f2f8b standardize usage info string format 10 years ago
Johannes Schindelin fb86e32dcc git remote: allow adding remotes agreeing with url.<...>.insteadOf 10 years ago
Nguyễn Thái Ngọc Duy dcf692625a path.c: make get_pathname() call sites return const char * 10 years ago
Michael Haggerty 3383e19984 sort_string_list(): rename to string_list_sort() 10 years ago
Michael Haggerty 8552943f41 prune_remote(): iterate using for_each_string_list_item() 10 years ago
Michael Haggerty fcce0da975 prune_remote(): rename local variable 10 years ago
Michael Haggerty 4a45b2f347 repack_without_refs(): make the refnames argument a string_list 10 years ago
Michael Haggerty 6d6d06c901 prune_remote(): sort delete_refs_list references en masse 10 years ago
Michael Haggerty 28d3f214d1 prune_remote(): initialize both delete_refs lists in a single loop 10 years ago
Michael Haggerty 16d4fa3d96 prune_remote(): exit early if there are no stale references 10 years ago
Ronnie Sahlberg 2ebb49ca8a remote rm/prune: print a message when writing packed-refs fails 11 years ago
Ronnie Sahlberg 7695d118e5 refs.c: change resolve_ref_unsafe reading argument to be a flags field 11 years ago
Ronnie Sahlberg 60bca085c8 refs.c: add an err argument to repack_without_refs 11 years ago
Jeff King 26936bfd9b use strip_suffix instead of ends_with in simple cases 11 years ago
Jeff King cf4fff579e refactor skip_prefix to return a boolean 11 years ago
Brian Gesiak 380694544d builtin/remote.c: rearrange xcalloc arguments 11 years ago
Jens Lindström e6bea66db6 remote prune: optimize "dangling symref" check/warning 11 years ago
Jens Lindström c9e768bb77 remote: repack packed-refs once when deleting multiple refs 11 years ago
Jens Lindström b07bdd3472 remote rm: delete remote configuration as the last 11 years ago
Felipe Contreras 0a54f70905 remote: fix status with branch...rebase=preserve 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Christian Couder 3fb5aead29 builtin/remote: remove postfixcmp() and use suffixcmp() instead 11 years ago
Michael Haggerty 90765fa3e0 fetch, remote: properly convey --no-prune options to subprocesses 12 years ago
Michael Haggerty 8607590e74 builtin/remote.c:update(): use struct argv_array 12 years ago
Michael Haggerty ce2223fde8 builtin/remote.c: reorder function definitions 12 years ago
Philip Oakley e49c8f33ab remote set-head -h: add long options to synopsis 12 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
Thomas Rast 2d2e3d2559 remote: check for superfluous arguments in 'git remote add' 12 years ago
Antoine Pelisse d1eded46fa Fix typo in remote set-head usage 12 years ago
Nguyễn Thái Ngọc Duy e17dba8fe1 remote: prefer subcommand name 'remove' to 'rm' 13 years ago
Nguyễn Thái Ngọc Duy fbbae140d3 i18n: remote: mark parseopt strings for translation 13 years ago
Ralf Thielow aa3bb87176 remote: fix typo 13 years ago
Nguyễn Thái Ngọc Duy bb16d5dd30 i18n: remote: mark strings for translation 13 years ago
Nguyễn Thái Ngọc Duy 18986d5377 i18n: make warn_dangling_symref() automatically append \n 13 years ago
Michael Schubert 31558fd48e remote: update builtin usage 13 years ago
Philip Jägenstedt ca5bc9e61f remote: fix set-branches usage and documentation 13 years ago
Nguyễn Thái Ngọc Duy 97ba642bcf Fix incorrect ref namespace check 13 years ago
Nguyễn Thái Ngọc Duy 8cad4744ee Rename resolve_ref() to resolve_ref_unsafe() 13 years ago
Nguyễn Thái Ngọc Duy c689332391 Convert many resolve_ref() calls to read_ref*() and ref_exists() 14 years ago
Junio C Hamano 656cdf0c9e remote: fix set-branches usage 14 years ago
Carlos Martín Nieto ed43de6ec3 fetch: honor the user-provided refspecs when pruning refs 14 years ago
Junio C Hamano 29753cddc8 rename "match_refs()" to "match_push_refs()" 14 years ago
Martin von Zweigbergk b52d00aede remote: only update remote-tracking branch if updating refspec 14 years ago