aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/update-ref.c
AgeCommit message (Expand)AuthorFilesLines
2017-02-20update-ref: pass reflog message to delete_ref()Kyle Meyer1-1/+1
2017-02-20delete_ref: accept a reflog message argumentKyle Meyer1-1/+1
2015-09-11tag, update-ref: improve description of option "create-reflog"Ralf Thielow1-1/+1
2015-08-03Merge branch 'dt/refs-backend-preamble'Junio C Hamano1-3/+11
2015-07-21update-ref and tag: add --create-reflog argDavid Turner1-3/+11
2015-06-22delete_ref(): use the usual convention for old_sha1Michael Haggerty1-1/+7
2015-06-22cmd_update_ref(): make logic more straightforwardMichael Haggerty1-3/+10
2015-02-17ref_transaction_verify(): new function to check a reference's valueMichael Haggerty1-5/+2
2015-02-17ref_transaction_delete(): remove "have_old" parameterMichael Haggerty1-2/+3
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-3/+4
2015-02-17refs.c: change some "flags" to "unsigned int"Michael Haggerty1-1/+2
2015-01-14standardize usage info string formatAlex Henrie1-3/+3
2014-12-11update-ref: fix "verify" command with missing <oldvalue>Michael Haggerty1-9/+5
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-6/+7
2014-09-03update-ref --stdin: pass transaction around explicitlyJonathan Nieder1-12/+15
2014-09-03update-ref --stdin: narrow scope of err strbufJonathan Nieder1-1/+10
2014-09-03refs.c: make ref_transaction_begin take an err argumentRonnie Sahlberg1-1/+4
2014-09-03refs.c: update ref_transaction_delete to check for error and return statusRonnie Sahlberg1-2/+3
2014-09-03refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg1-1/+3
2014-07-14refs.c: change ref_transaction_update() to do error checking and return statusRonnie Sahlberg1-5/+7
2014-07-14refs.c: remove the onerr argument to ref_transaction_commitRonnie Sahlberg1-2/+1
2014-07-14update-ref: use err argument to get error from ref_transaction_commitRonnie Sahlberg1-5/+5
2014-07-14refs.c: add a strbuf argument to ref_transaction_commit for error loggingRonnie Sahlberg1-1/+1
2014-07-14refs.c: ref_transaction_commit should not free the transactionRonnie Sahlberg1-0/+1
2014-04-07update-ref --stdin: reimplement using reference transactionsMichael Haggerty1-67/+75
2014-04-07update-ref --stdin: harmonize error messagesMichael Haggerty1-12/+12
2014-04-07update-ref --stdin: improve the error message for unexpected EOFMichael Haggerty1-2/+2
2014-04-07update-ref --stdin -z: deprecate interpreting the empty string as zerosMichael Haggerty1-0/+2
2014-04-07update-ref.c: extract a new function, parse_next_sha1()Michael Haggerty1-62/+98
2014-04-07update-ref --stdin: simplify error messages for missing oldvaluesMichael Haggerty1-3/+3
2014-04-07update-ref --stdin: make error messages more consistentMichael Haggerty1-4/+4
2014-04-07update-ref --stdin: improve error messages for invalid valuesMichael Haggerty1-11/+13
2014-04-07update-ref.c: extract a new function, parse_refname()Michael Haggerty1-49/+41
2014-04-07parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twiceMichael Haggerty1-1/+1
2014-04-07update-ref --stdin: read the whole input at onceMichael Haggerty1-62/+108
2014-04-07update_refs(): fix constnessMichael Haggerty1-1/+1
2014-04-07refs.h: rename the action_on_err constantsMichael Haggerty1-2/+3
2014-04-07parse_arg(): really test that argument is properly terminatedMichael Haggerty1-5/+15
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-5/+5
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+251
2013-09-09update-ref: support multiple simultaneous updatesBrad King1-1/+251
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-2/+2
2012-08-22Use imperative form in help usage to describe an actionNguyễn Thái Ngọc Duy1-1/+1
2012-08-22i18n: update-ref: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-5/+5
2011-08-25update-ref: whitespace fixPang Yan Han1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+58