46 Commits (7d2df051d05bc65a0a540ba080f07b421b4d99d7)

Author SHA1 Message Date
Kyle Meyer de922669ab update-ref: pass reflog message to delete_ref() 8 years ago
Kyle Meyer 755b49ae96 delete_ref: accept a reflog message argument 8 years ago
Ralf Thielow 98c32bd889 tag, update-ref: improve description of option "create-reflog" 9 years ago
David Turner 144c76fa39 update-ref and tag: add --create-reflog arg 10 years ago
Michael Haggerty 1c03c4d347 delete_ref(): use the usual convention for old_sha1 10 years ago
Michael Haggerty e2991c8048 cmd_update_ref(): make logic more straightforward 10 years ago
Michael Haggerty 1618033401 ref_transaction_verify(): new function to check a reference's value 10 years ago
Michael Haggerty fb5a6bb61c ref_transaction_delete(): remove "have_old" parameter 10 years ago
Michael Haggerty 1d147bdff0 ref_transaction_update(): remove "have_old" parameter 10 years ago
Michael Haggerty fec14ec38c refs.c: change some "flags" to "unsigned int" 10 years ago
Alex Henrie 9c9b4f2f8b standardize usage info string format 10 years ago
Michael Haggerty 0e729c7ed5 update-ref: fix "verify" command with missing <oldvalue> 10 years ago
Ronnie Sahlberg db7516ab9f refs.c: pass the ref log message to _create/delete/update instead of _commit 10 years ago
Jonathan Nieder 88499b296b update-ref --stdin: pass transaction around explicitly 11 years ago
Jonathan Nieder ab5ac95725 update-ref --stdin: narrow scope of err strbuf 11 years ago
Ronnie Sahlberg 93a644ea9d refs.c: make ref_transaction_begin take an err argument 11 years ago
Ronnie Sahlberg 8c8bdc0d35 refs.c: update ref_transaction_delete to check for error and return status 11 years ago
Ronnie Sahlberg b416af5bcd refs.c: change ref_transaction_create to do error checking and return status 11 years ago
Ronnie Sahlberg 8e34800e5b refs.c: change ref_transaction_update() to do error checking and return status 11 years ago
Ronnie Sahlberg 01319837c5 refs.c: remove the onerr argument to ref_transaction_commit 11 years ago
Ronnie Sahlberg 8bcd37482e update-ref: use err argument to get error from ref_transaction_commit 11 years ago
Ronnie Sahlberg 995f8746bc refs.c: add a strbuf argument to ref_transaction_commit for error logging 11 years ago
Ronnie Sahlberg 33f9fc5932 refs.c: ref_transaction_commit should not free the transaction 11 years ago
Michael Haggerty aebfc13337 update-ref --stdin: reimplement using reference transactions 11 years ago
Michael Haggerty f11b09fb60 update-ref --stdin: harmonize error messages 11 years ago
Michael Haggerty 726f69166f update-ref --stdin: improve the error message for unexpected EOF 11 years ago
Michael Haggerty 1fbd504942 update-ref --stdin -z: deprecate interpreting the empty string as zeros 11 years ago
Michael Haggerty 3afcc46374 update-ref.c: extract a new function, parse_next_sha1() 11 years ago
Michael Haggerty ac1177553d update-ref --stdin: simplify error messages for missing oldvalues 11 years ago
Michael Haggerty 9255f059ff update-ref --stdin: make error messages more consistent 11 years ago
Michael Haggerty 1746ef4e9d update-ref --stdin: improve error messages for invalid values 11 years ago
Michael Haggerty ed410e611d update-ref.c: extract a new function, parse_refname() 11 years ago
Michael Haggerty 2f57736002 parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twice 11 years ago
Michael Haggerty e23d84350a update-ref --stdin: read the whole input at once 11 years ago
Michael Haggerty 595deb8da6 update_refs(): fix constness 11 years ago
Michael Haggerty f412411245 refs.h: rename the action_on_err constants 11 years ago
Michael Haggerty 697a41519b parse_arg(): really test that argument is properly terminated 11 years ago
Aman Gupta b9d56b5dd9 update-ref: fail create operation over stdin if ref already exists 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Brad King c750ba9519 update-ref: support multiple simultaneous updates 12 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
Nguyễn Thái Ngọc Duy f63cf8c9fb Use imperative form in help usage to describe an action 13 years ago
Nguyễn Thái Ngọc Duy 82269505b9 i18n: update-ref: mark parseopt strings for translation 13 years ago
Pang Yan Han f877fd825e update-ref: whitespace fix 14 years ago
Linus Torvalds 81b50f3ce4 Move 'builtin-*' into a 'builtin/' subdirectory 15 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
Miklos Vajna 569740bdd0 Fix git update-ref --no-deref -d. 16 years ago
Miklos Vajna eca35a25a9 Fix git branch -m for symrefs. 16 years ago
Stephan Beyer 1b1dd23f2d Make usage strings dash-less 17 years ago
Karl Hasselström 3fe8dce6fc Make old sha1 optional with git update-ref -d 17 years ago