summaryrefslogtreecommitdiff
path: root/builtin/update-ref.c
AgeCommit message (Expand)AuthorFilesLines
2017-07-17builtin/update_ref: convert to struct object_idLibravatar brian m. carlson1-35/+34
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-02-20update-ref: pass reflog message to delete_ref()Libravatar Kyle Meyer1-1/+1
2017-02-20delete_ref: accept a reflog message argumentLibravatar Kyle Meyer1-1/+1
2015-09-11tag, update-ref: improve description of option "create-reflog"Libravatar Ralf Thielow1-1/+1
2015-08-03Merge branch 'dt/refs-backend-preamble'Libravatar Junio C Hamano1-3/+11
2015-07-21update-ref and tag: add --create-reflog argLibravatar David Turner1-3/+11
2015-06-22delete_ref(): use the usual convention for old_sha1Libravatar Michael Haggerty1-1/+7
2015-06-22cmd_update_ref(): make logic more straightforwardLibravatar Michael Haggerty1-3/+10
2015-02-17ref_transaction_verify(): new function to check a reference's valueLibravatar Michael Haggerty1-5/+2
2015-02-17ref_transaction_delete(): remove "have_old" parameterLibravatar Michael Haggerty1-2/+3
2015-02-17ref_transaction_update(): remove "have_old" parameterLibravatar Michael Haggerty1-3/+4
2015-02-17refs.c: change some "flags" to "unsigned int"Libravatar Michael Haggerty1-1/+2
2015-01-14standardize usage info string formatLibravatar Alex Henrie1-3/+3
2014-12-11update-ref: fix "verify" command with missing <oldvalue>Libravatar Michael Haggerty1-9/+5
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitLibravatar Ronnie Sahlberg1-6/+7
2014-09-03update-ref --stdin: pass transaction around explicitlyLibravatar Jonathan Nieder1-12/+15
2014-09-03update-ref --stdin: narrow scope of err strbufLibravatar Jonathan Nieder1-1/+10
2014-09-03refs.c: make ref_transaction_begin take an err argumentLibravatar Ronnie Sahlberg1-1/+4
2014-09-03refs.c: update ref_transaction_delete to check for error and return statusLibravatar Ronnie Sahlberg1-2/+3
2014-09-03refs.c: change ref_transaction_create to do error checking and return statusLibravatar Ronnie Sahlberg1-1/+3
2014-07-14refs.c: change ref_transaction_update() to do error checking and return statusLibravatar Ronnie Sahlberg1-5/+7
2014-07-14refs.c: remove the onerr argument to ref_transaction_commitLibravatar Ronnie Sahlberg1-2/+1
2014-07-14update-ref: use err argument to get error from ref_transaction_commitLibravatar Ronnie Sahlberg1-5/+5
2014-07-14refs.c: add a strbuf argument to ref_transaction_commit for error loggingLibravatar Ronnie Sahlberg1-1/+1
2014-07-14refs.c: ref_transaction_commit should not free the transactionLibravatar Ronnie Sahlberg1-0/+1
2014-04-07update-ref --stdin: reimplement using reference transactionsLibravatar Michael Haggerty1-67/+75
2014-04-07update-ref --stdin: harmonize error messagesLibravatar Michael Haggerty1-12/+12
2014-04-07update-ref --stdin: improve the error message for unexpected EOFLibravatar Michael Haggerty1-2/+2
2014-04-07update-ref --stdin -z: deprecate interpreting the empty string as zerosLibravatar Michael Haggerty1-0/+2
2014-04-07update-ref.c: extract a new function, parse_next_sha1()Libravatar Michael Haggerty1-62/+98
2014-04-07update-ref --stdin: simplify error messages for missing oldvaluesLibravatar Michael Haggerty1-3/+3
2014-04-07update-ref --stdin: make error messages more consistentLibravatar Michael Haggerty1-4/+4
2014-04-07update-ref --stdin: improve error messages for invalid valuesLibravatar Michael Haggerty1-11/+13
2014-04-07update-ref.c: extract a new function, parse_refname()Libravatar Michael Haggerty1-49/+41
2014-04-07parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twiceLibravatar Michael Haggerty1-1/+1
2014-04-07update-ref --stdin: read the whole input at onceLibravatar Michael Haggerty1-62/+108
2014-04-07update_refs(): fix constnessLibravatar Michael Haggerty1-1/+1
2014-04-07refs.h: rename the action_on_err constantsLibravatar Michael Haggerty1-2/+3
2014-04-07parse_arg(): really test that argument is properly terminatedLibravatar Michael Haggerty1-5/+15
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Libravatar Christian Couder1-5/+5
2013-09-20Merge branch 'bk/refs-multi-update'Libravatar Junio C Hamano1-1/+251
2013-09-09update-ref: support multiple simultaneous updatesLibravatar Brad King1-1/+251
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLLibravatar Stefan Beller1-2/+2
2012-08-22Use imperative form in help usage to describe an actionLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2012-08-22i18n: update-ref: mark parseopt strings for translationLibravatar Nguyễn Thái Ngọc Duy1-5/+5
2011-08-25update-ref: whitespace fixLibravatar Pang Yan Han1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLibravatar Linus Torvalds1-0/+58