aboutsummaryrefslogtreecommitdiffstats
path: root/t/t1400-update-ref.sh
AgeCommit message (Expand)AuthorFilesLines
2025-09-29Merge branch 'kn/refs-files-case-insensitive'Junio C Hamano1-0/+53
2025-09-17refs/files: catch conflicts on case-insensitive file-systemsKarthik Nayak1-0/+53
2025-08-29Merge branch 'jk/no-clobber-dangling-symref-with-fetch'Junio C Hamano1-0/+21
2025-08-19refs: do not clobber dangling symrefsJeff King1-0/+21
2025-07-16Merge branch 'ps/refs-files-remove-empty-parent'Junio C Hamano1-0/+19
2025-07-08Merge branch 'kn/fetch-push-bulk-ref-update'Junio C Hamano1-0/+45
2025-07-08refs/files: remove empty parent dirs when ref creation failsPatrick Steinhardt1-0/+19
2025-06-25refs/files: skip updates with errors in batched updatesKarthik Nayak1-0/+45
2025-06-24test-lib: teach test_seq the -f optionJeff King1-8/+2
2025-04-08update-ref: add --batch-updates flag for stdin modeKarthik Nayak1-0/+233
2025-01-23refs: fix creation of reflog entries for symrefsKarthik Nayak1-0/+9
2024-11-21t: remove TEST_PASSES_SANITIZE_LEAK annotationsPatrick Steinhardt1-1/+0
2024-10-17t: fix typosAndrew Kreimer1-2/+2
2024-06-20Merge branch 'kn/update-ref-symref'Junio C Hamano1-2/+428
2024-06-07update-ref: add support for 'symref-update' commandKarthik Nayak1-0/+203
2024-06-07update-ref: add support for 'symref-create' commandKarthik Nayak1-0/+65
2024-06-07update-ref: add support for 'symref-delete' commandKarthik Nayak1-0/+68
2024-06-07update-ref: add support for 'symref-verify' commandKarthik Nayak1-2/+92
2024-05-27strbuf: fix leak when `appendwholeline()` fails with EOFPatrick Steinhardt1-0/+2
2024-04-02update-ref: use {old,new}-oid instead of {old,new}valueKarthik Nayak1-17/+17
2024-02-26Merge branch 'ps/ref-tests-update-even-more'Junio C Hamano1-43/+7
2024-02-15t1400: exercise reflog with gaps with reftable backendPatrick Steinhardt1-7/+7
2024-02-15t: move tests exercising the "files" backendPatrick Steinhardt1-36/+0
2024-02-07t1400: use show-ref to check pseudorefsPhillip Wood1-9/+9
2023-12-20Merge branch 'ps/ref-tests-update-more'Junio C Hamano1-6/+35
2023-12-09Merge branch 'ps/ref-tests-update'Junio C Hamano1-23/+27
2023-12-03t1400: split up generic reflog tests from the reffile-specific onesPatrick Steinhardt1-6/+35
2023-11-03t: mark several tests that assume the files backend with REFFILESPatrick Steinhardt1-4/+4
2023-11-03t: convert tests to not access reflog via the filesystemPatrick Steinhardt1-6/+11
2023-11-03t: convert tests to not access symrefs via the filesystemPatrick Steinhardt1-4/+4
2023-11-03t: convert tests to not write references via the filesystemPatrick Steinhardt1-9/+8
2023-11-02tests: teach callers of test_i18ngrep to use test_grepJunio C Hamano1-11/+11
2023-03-20t1400: assert output of update-refAndrei Rybak1-0/+3
2022-01-03Merge branch 'es/test-chain-lint'Junio C Hamano1-2/+2
2021-12-15Merge branch 'js/test-initial-branch-override-cleanup'Junio C Hamano1-3/+0
2021-12-13t0000-t3999: detect and signal failure within loopEric Sunshine1-2/+2
2021-12-05tests: set GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME only when neededJohannes Schindelin1-3/+0
2021-12-02test-ref-store: tweaks to for-each-reflog-ent formatHan-Wen Nienhuys1-5/+8
2021-09-15t1400: avoid SIGPIPE race condition on fifoJeff King1-3/+5
2021-09-03update-ref: fix streaming of status updatesPatrick Steinhardt1-0/+32
2021-05-11refs: cleanup directories when deleting packed refWill Chandler1-0/+9
2021-02-10tests: remove most uses of test_i18ncmpÆvar Arnfjörð Bjarmason1-3/+3
2021-01-25Merge branch 'js/default-branch-name-tests-final-stretch'Junio C Hamano1-0/+3
2020-12-16t1400: use `main` as initial branch nameJohannes Schindelin1-37/+38
2020-11-19tests: drop prereq `PREPARE_FOR_MAIN_BRANCH` where no longer neededJohannes Schindelin1-2/+2
2020-11-19t[01]*: adjust the references to the default branch name "main"Johannes Schindelin1-35/+35
2020-11-19tests: mark tests relying on the current default for `init.defaultBranch`Johannes Schindelin1-0/+3
2020-11-16update-ref: disallow "start" for ongoing transactionsPatrick Steinhardt1-0/+11
2020-11-16update-ref: allow creation of multiple transactionsPatrick Steinhardt1-0/+50
2020-11-16t1400: avoid touching refs on filesystemPatrick Steinhardt1-35/+42
2020-10-23t1400: prepare for `main` being default branch nameJohannes Schindelin1-5/+5
2020-08-17Merge branch 'hn/reftable-prep-part-2'Junio C Hamano1-15/+15
2020-08-06t: don't spuriously close and reopen quotesMartin Ågren1-1/+1
2020-07-27Modify pseudo refs through ref backend storageHan-Wen Nienhuys1-5/+5
2020-07-16t1400: use git rev-parse for testing PSEUDOREF existenceHan-Wen Nienhuys1-10/+10
2020-05-20t: use update-ref and show-ref to reading/writing refsHan-Wen Nienhuys1-16/+16
2020-05-01Merge branch 'tb/commit-graph-fd-exhaustion-fix'Junio C Hamano1-9/+0
2020-04-23t/test-lib.sh: make ULIMIT_FILE_DESCRIPTORS available to testsTaylor Blau1-9/+0
2020-04-02update-ref: implement interactive transaction handlingPatrick Steinhardt1-0/+131
2020-01-30sha1-name: mark get_oid() error messages for translationJeff King1-6/+6
2020-01-28t1400: avoid "test" string comparisonsJeff King1-12/+24
2019-12-06Merge branch 'rs/test-cleanup'Junio C Hamano1-4/+4
2019-11-27t1400: use test_must_be_emptyRené Scharfe1-4/+4
2019-10-29t1400: wrap setup code in test caseJohannes Schindelin1-8/+10
2018-10-16Merge branch 'ma/t1400-undebug-test'Junio C Hamano1-1/+1
2018-10-10Merge branch 'bc/hash-independent-tests'Junio C Hamano1-1/+1
2018-09-28t1400: drop debug `echo` to actually execute `test`Martin Ågren1-1/+1
2018-09-17t1400: switch hard-coded object ID to variablebrian m. carlson1-1/+1
2018-09-12update-ref: allow --no-deref with --stdinElijah Newren1-0/+31
2018-07-23refs.c: mark more strings for translationNguyễn Thái Ngọc Duy1-10/+10
2018-07-23Update messages in preparation for i18nNguyễn Thái Ngọc Duy1-4/+4
2018-05-30Merge branch 'bc/hash-independent-tests'Junio C Hamano1-1/+1
2018-05-14t: switch $_z40 to $ZERO_OIDbrian m. carlson1-1/+1
2018-05-13refs: handle zero oid for pseudorefsMartin Ågren1-2/+2
2018-05-13t1400: add tests around adding/deleting pseudorefsMartin Ågren1-0/+60
2017-09-15test-lib: don't use ulimit in test prerequisites on cygwinRamsay Jones1-1/+4
2017-04-16t1400: use consistent style for test_expect_success callsKyle Meyer1-168/+167
2017-03-21t1400: use test_when_finished for cleanupKyle Meyer1-40/+41
2017-03-21t1400: remove a set of unused output filesKyle Meyer1-2/+2
2017-03-21t1400: use test_path_is_* helpersKyle Meyer1-22/+22
2017-03-21t1400: set core.logAllRefUpdates in "logged by touch" testsKyle Meyer1-11/+12
2017-03-21t1400: rename test descriptions to be uniqueKyle Meyer1-4/+4
2017-02-27Merge branch 'km/delete-ref-reflog-message'Junio C Hamano1-0/+18
2017-02-27Merge branch 'mh/ref-remove-empty-directory'Junio C Hamano1-0/+27
2017-02-20update-ref: pass reflog message to delete_ref()Kyle Meyer1-0/+18
2017-01-31update-ref: add test cases for bare repositoryCornelius Weig1-7/+36
2017-01-31refs: add option core.logAllRefUpdates = alwaysCornelius Weig1-0/+37
2017-01-07files_transaction_commit(): clean up empty directoriesMichael Haggerty1-0/+27
2016-07-25Merge branch 'mh/split-under-lock'Junio C Hamano1-3/+38
2016-06-17tests: use test_i18n* functions to suppress false positivesVasco Almeida1-1/+1
2016-06-13refs: resolve symbolic refs firstMichael Haggerty1-0/+35
2016-06-13ref_transaction_update(): check refname_is_safe() at a minimumMichael Haggerty1-1/+1
2016-06-13refs: make error messages more consistentMichael Haggerty1-2/+2
2015-09-01refs: make refs/bisect/* per-worktreeDavid Turner1-0/+19
2015-08-12Merge branch 'dt/reflog-tests'Junio C Hamano1-3/+2
2015-07-28tests: remove some direct access to .git/logsDavid Turner1-3/+2
2015-07-21update-ref and tag: add --create-reflog argDavid Turner1-0/+38
2015-06-05Merge branch 'mh/write-refs-sooner-2.4' into maintJunio C Hamano1-0/+28
2015-05-27ref_transaction_commit(): do not capitalize error messagesMichael Haggerty1-7/+7
2015-05-22Merge branch 'mh/ref-directory-file'Junio C Hamano1-7/+7
2015-05-12ref_transaction_commit(): fix atomicity and avoid fd exhaustionMichael Haggerty1-2/+2
2015-05-12update-ref: test handling large transactions properlyStefan Beller1-0/+28
2015-05-11ref_transaction_commit(): delete extra "the" from error messageMichael Haggerty1-7/+7
2014-12-11update-ref: fix "verify" command with missing <oldvalue>Michael Haggerty1-2/+2
2014-12-11t1400: add some more tests of "update-ref --stdin"'s verify commandMichael Haggerty1-0/+92
2014-10-15test: put tests for handling of bad ref names in one placeRonnie Sahlberg1-44/+0
2014-10-15branch -d: avoid repeated symref resolutionJonathan Nieder1-0/+34
2014-06-16Merge branch 'rs/read-ref-at'Junio C Hamano1-2/+2
2014-06-03Merge branch 'mh/ref-transaction'Junio C Hamano1-31/+69
2014-06-03refs.c: change read_ref_at to use the reflog iteratorsRonnie Sahlberg1-2/+2
2014-04-07update-ref --stdin: harmonize error messagesMichael Haggerty1-16/+16
2014-04-07update-ref --stdin: improve the error message for unexpected EOFMichael Haggerty1-6/+6
2014-04-07t1400: test one mistake at a timeMichael Haggerty1-1/+7
2014-04-07update-ref --stdin -z: deprecate interpreting the empty string as zerosMichael Haggerty1-2/+3
2014-04-07update-ref.c: extract a new function, parse_next_sha1()Michael Haggerty1-1/+1
2014-04-07t1400: test that stdin -z update treats empty <newvalue> as zerosMichael Haggerty1-0/+7
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-7/+7
2014-04-07update-ref --stdin: improve error messages for invalid valuesMichael Haggerty1-4/+4
2014-04-07t1400: add some more tests involving quoted argumentsMichael Haggerty1-1/+25
2014-04-07parse_arg(): really test that argument is properly terminatedMichael Haggerty1-2/+2
2014-04-07t1400: provide more usual input to the commandMichael Haggerty1-1/+1
2014-04-07t1400: fix name and expected result of one testMichael Haggerty1-2/+2
2014-04-02update-ref: fail create operation over stdin if ref already existsAman Gupta1-0/+11
2013-09-11update-ref: add test cases covering --stdin signatureBrad King1-0/+632
2012-10-21Fix failure to delete a packed ref through a symrefJohan Herland1-1/+1
2012-10-21t1400-update-ref: Add test verifying bug with symrefs in delete_ref()Johan Herland1-0/+18
2011-05-06Merge branch 'jc/fix-diff-files-unmerged'Junio C Hamano1-1/+1
2011-04-23test: use $_z40 from test-libJunio C Hamano1-1/+1
2010-11-09t1400 (update-ref): use test_must_failJonathan Nieder1-3/+2
2010-11-09tests: add missing &&, batch 2Jonathan Nieder1-10/+10
2009-03-17Tests: use test_cmp instead of diff where possibleMiklos Vajna1-3/+3
2008-10-31update-ref --no-deref -d: handle the case when the pointed ref is packedMiklos Vajna1-0/+11
2008-10-26Fix git update-ref --no-deref -d.Miklos Vajna1-0/+7
2008-09-03tests: use "git xyzzy" form (t0000 - t3599)Nanako Shiraishi1-5/+5
2008-07-13t/: Use "test_must_fail git" instead of "! git"Stephan Beyer1-2/+2
2008-07-08avoid null SHA1 in oldest reflogJeff King1-1/+8
2008-06-02Make old sha1 optional with git update-ref -dKarl Hasselström1-0/+8
2008-05-27Add some tests for git update-ref -dKarl Hasselström1-0/+16
2008-02-01Sane use of test_expect_failureJunio C Hamano1-12/+12
2008-01-16Be more careful about updating refsLinus Torvalds1-6/+13
2007-11-08stop t1400 hiding errors in testsAlex Riesen1-1/+1
2007-09-05Cleanup unnecessary file modifications in t1400-update-refShawn O. Pearce1-2/+0
2007-07-02Rewrite "git-frotz" to "git frotz"Junio C Hamano1-37/+37
2007-01-28[PATCH] Rename git-repo-config to git-config.Tom Prince1-2/+2
2007-01-19Extend read_ref_at() to be usable from places other than sha1_name.Junio C Hamano1-3/+3
2006-12-15Enable reflogs by default in any repository with a working directory.Shawn O. Pearce1-2/+2
2006-09-17Fix t1400-update-ref test minimallyJunio C Hamano1-5/+2
2006-09-16t1400: make test debuggable.Junio C Hamano1-43/+43
2006-07-28Display an error from update-ref if target ref name is invalid.Shawn Pearce1-0/+12
2006-07-11tests: Set EDITOR=: and VISUAL=: globallyEric Wong1-1/+0
2006-07-10Record the type of commit operation in the reflog.Shawn Pearce1-3/+16
2006-05-24Verify git-commit provides a reflog message.Shawn Pearce1-12/+26
2006-05-19Change 'master@noon' syntax to 'master@{noon}'.Shawn Pearce1-16/+39
2006-05-19General ref log reading improvements.Shawn Pearce1-0/+64
2006-05-17Log ref updates to logs/refs/<ref>Shawn Pearce1-0/+112