64 Commits (9364bf465d23ff26f5e2eb4ee52434e7a69894f1)

Author SHA1 Message Date
Patrick Steinhardt 8c4417f1cf update-ref: disallow "start" for ongoing transactions 4 years ago
Patrick Steinhardt 262a4d28fe update-ref: allow creation of multiple transactions 4 years ago
Jeff King dbbcd44fb4 strvec: rename files from argv-array to strvec 5 years ago
Patrick Steinhardt e48cf33b61 update-ref: implement interactive transaction handling 5 years ago
Patrick Steinhardt 94fd491a54 update-ref: read commands in a line-wise fashion 5 years ago
Patrick Steinhardt de0e0d650a update-ref: move transaction handling into `update_refs_stdin()` 5 years ago
Patrick Steinhardt 804dba54f5 update-ref: pass end pointer instead of strbuf 5 years ago
Patrick Steinhardt 5ae6c5a712 update-ref: drop unused argument for `parse_refname` 5 years ago
Patrick Steinhardt a65b8ac291 update-ref: organize commands in an array 5 years ago
Elijah Newren d345e9fbe7 update-ref: allow --no-deref with --stdin 7 years ago
Elijah Newren e4c34855a2 update-ref: fix type of update_flags variable to match its usage 7 years ago
SZEDER Gábor aee9be2ebe update-ref --stdin: use skip_prefix() 7 years ago
Michael Haggerty 91774afcc3 refs: rename constant `REF_NODEREF` to `REF_NO_DEREF` 7 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 7 years ago
brian m. carlson ae077771b0 refs: convert update_ref and refs_update_ref to use struct object_id 7 years ago
brian m. carlson 2616a5e508 refs: convert delete_ref and refs_delete_ref to struct object_id 7 years ago
brian m. carlson a0bb553542 builtin/update_ref: convert to struct object_id 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
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" 10 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 11 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