summaryrefslogtreecommitdiff
path: root/builtin/update-ref.c
Commit message (Expand)AuthorAgeFilesLines
* update-ref: allow --no-deref with --stdinElijah Newren2018-09-121-10/+13
* update-ref: fix type of update_flags variable to match its usageElijah Newren2018-09-121-1/+1
* update-ref --stdin: use skip_prefix()SZEDER Gábor2018-06-041-12/+13
* refs: rename constant `REF_NODEREF` to `REF_NO_DEREF`Michael Haggerty2017-11-061-2/+2
* refs: update ref transactions to use struct object_idbrian m. carlson2017-10-161-4/+4
* refs: convert update_ref and refs_update_ref to use struct object_idbrian m. carlson2017-10-161-1/+1
* refs: convert delete_ref and refs_delete_ref to struct object_idbrian m. carlson2017-10-161-1/+1
* builtin/update_ref: convert to struct object_idbrian m. carlson2017-07-171-35/+34
* config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* update-ref: pass reflog message to delete_ref()Kyle Meyer2017-02-201-1/+1
* delete_ref: accept a reflog message argumentKyle Meyer2017-02-201-1/+1
* tag, update-ref: improve description of option "create-reflog"rt/help-strings-fixRalf Thielow2015-09-111-1/+1
* Merge branch 'dt/refs-backend-preamble'Junio C Hamano2015-08-031-3/+11
|\
| * update-ref and tag: add --create-reflog argDavid Turner2015-07-211-3/+11
* | delete_ref(): use the usual convention for old_sha1mh/init-delete-refs-apiMichael Haggerty2015-06-221-1/+7
* | cmd_update_ref(): make logic more straightforwardMichael Haggerty2015-06-221-3/+10
|/
* ref_transaction_verify(): new function to check a reference's valueMichael Haggerty2015-02-171-5/+2
* ref_transaction_delete(): remove "have_old" parameterMichael Haggerty2015-02-171-2/+3
* ref_transaction_update(): remove "have_old" parameterMichael Haggerty2015-02-171-3/+4
* refs.c: change some "flags" to "unsigned int"Michael Haggerty2015-02-171-1/+2
* standardize usage info string formatAlex Henrie2015-01-141-3/+3
* update-ref: fix "verify" command with missing <oldvalue>mh/update-ref-verifyMichael Haggerty2014-12-111-9/+5
* refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg2014-10-151-6/+7
* update-ref --stdin: pass transaction around explicitlyrs/ref-transaction-1Jonathan Nieder2014-09-031-12/+15
* update-ref --stdin: narrow scope of err strbufJonathan Nieder2014-09-031-1/+10
* refs.c: make ref_transaction_begin take an err argumentRonnie Sahlberg2014-09-031-1/+4
* refs.c: update ref_transaction_delete to check for error and return statusRonnie Sahlberg2014-09-031-2/+3
* refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg2014-09-031-1/+3
* refs.c: change ref_transaction_update() to do error checking and return statusrs/ref-transaction-0Ronnie Sahlberg2014-07-141-5/+7
* refs.c: remove the onerr argument to ref_transaction_commitRonnie Sahlberg2014-07-141-2/+1
* update-ref: use err argument to get error from ref_transaction_commitRonnie Sahlberg2014-07-141-5/+5
* refs.c: add a strbuf argument to ref_transaction_commit for error loggingRonnie Sahlberg2014-07-141-1/+1
* refs.c: ref_transaction_commit should not free the transactionRonnie Sahlberg2014-07-141-0/+1
* update-ref --stdin: reimplement using reference transactionsMichael Haggerty2014-04-071-67/+75
* update-ref --stdin: harmonize error messagesMichael Haggerty2014-04-071-12/+12
* update-ref --stdin: improve the error message for unexpected EOFMichael Haggerty2014-04-071-2/+2
* update-ref --stdin -z: deprecate interpreting the empty string as zerosMichael Haggerty2014-04-071-0/+2
* update-ref.c: extract a new function, parse_next_sha1()Michael Haggerty2014-04-071-62/+98
* update-ref --stdin: simplify error messages for missing oldvaluesMichael Haggerty2014-04-071-3/+3
* update-ref --stdin: make error messages more consistentMichael Haggerty2014-04-071-4/+4
* update-ref --stdin: improve error messages for invalid valuesMichael Haggerty2014-04-071-11/+13
* update-ref.c: extract a new function, parse_refname()Michael Haggerty2014-04-071-49/+41
* parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twiceMichael Haggerty2014-04-071-1/+1
* update-ref --stdin: read the whole input at onceMichael Haggerty2014-04-071-62/+108
* update_refs(): fix constnessMichael Haggerty2014-04-071-1/+1
* refs.h: rename the action_on_err constantsMichael Haggerty2014-04-071-2/+3
* parse_arg(): really test that argument is properly terminatedMichael Haggerty2014-04-071-5/+15
* replace {pre,suf}fixcmp() with {starts,ends}_with()cc/starts-n-ends-withChristian Couder2013-12-051-5/+5
* Merge branch 'bk/refs-multi-update'Junio C Hamano2013-09-201-1/+251
|\
| * update-ref: support multiple simultaneous updatesBrad King2013-09-091-1/+251