aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-submodule-nested-repo-config.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2025-04-08 11:00:52 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-08 14:21:49 -0700
commit09d86e0bb5159a767b97ec2e319ab49f1d9f28b3 (patch)
tree6729e4df2c2fb2a14049d574bcff895d14df0cc4 /t/helper/test-submodule-nested-repo-config.c
parentThe fourth batch (diff)
downloadgit-09d86e0bb5159a767b97ec2e319ab49f1d9f28b3.tar.gz
git-09d86e0bb5159a767b97ec2e319ab49f1d9f28b3.zip
t6020: test for duplicate refnames in bundle creation
The commit b2a6d1c686 (bundle: allow the same ref to be given more than once, 2009-01-17) added functionality to detect and remove duplicate refnames from being added during bundle creation. This ensured that clones created from such bundles wouldn't barf about duplicate refnames. The following commit will add some optimizations to make this check faster, but before doing that, it would be optimal to add tests to capture the current behavior. Add tests to capture duplicate refnames provided by the user during bundle creation. This can be a combination of: - refnames directly provided by the user. - refname duplicate by using the '--all' flag alongside manual references being provided. - exclusion criteria provided via a refname "main^!". - short forms of refnames provided, "main" vs "refs/heads/main". Note that currently duplicates due to usage of short and long forms goes undetected. This should be fixed with the optimizations made in the next commit. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule-nested-repo-config.c')
0 files changed, 0 insertions, 0 deletions
Git 1.7.0.2v1.7.0.2Junio C Hamano3-8/+3 2010-03-07unset GREP_OPTIONS in test-lib.shBert Wesarg1-0/+2 2010-03-06stash: suggest the correct command line for unknown options.Matthieu Moy1-0/+1 2010-03-06t7406: Fix submodule init config testsStephen Boyd1-8/+16 2010-03-06Add 'git format-patch --to=' option and 'format.to' configuration variable.Steven Drake3-3/+38 2010-03-05git-svn: make git svn --version work againMichael J Gruber1-0/+1 2010-03-05Revert "git-svn: always initialize with core.autocrlf=false"Erik Faye-Lund1-1/+0 2010-03-05git-svn: support fetch with autocrlf onErik Faye-Lund1-1/+1 2010-03-05hash-object: support --stdin-paths with --no-filtersErik Faye-Lund3-9/+19 2010-03-04Update draft release notes to 1.7.0.2Junio C Hamano1-1/+25 2010-03-04Documentation: fix a few typos in git-notes.txtMichael J Gruber1-2/+2 2010-03-04Remove extra '-' from git-am(1)Michal Sojka1-1/+1 2010-03-04t9119-git-svn-info.sh: test with svn 1.6.* as wellMichael J Gruber1-1/+2 2010-03-04git-svn: req_svn when neededMichael J Gruber1-0/+1 2010-03-03run-command.c: fix build warnings on UbuntuMichael Wookey1-4/+6 2010-03-03submodule summary: do not shift a non-existent positional variableJeff King1-1/+1 2010-03-02Start preparing for 1.7.0.2Junio C Hamano2-1/+23 2010-03-02wrap-for-bin: do not export an empty GIT_TEMPLATE_DIRJunio C Hamano1-2/+7 2010-03-02fallback SSH_ASKPASS when GIT_ASKPASS not setFrank Li1-0/+3 2010-03-02gitweb: Fix project-specific feature override behaviorJakub Narebski2-6/+21 2010-03-02gitweb multiple project roots documentationSylvain Rabot1-3/+64 2010-03-02remote-curl: init walker only when neededTay Ray Chuan1-10/+3 2010-03-02remote-curl: use http_fetch_ref() instead of walker wrapperTay Ray Chuan1-2/+1 2010-03-02http: init and cleanup separately from http-walkerTay Ray Chuan4-8/+12 2010-03-02http-walker: cleanup more thoroughlyTay Ray Chuan1-0/+17 2010-03-02http-push: remove "|| 1" to enable verbose checkTay Ray Chuan1-1/+1 2010-03-02t554[01]-http-push: refactor, add non-ff testsTay Ray Chuan3-22/+34 2010-03-02t5541-http-push: check that ref is unchanged for non-ff testTay Ray Chuan1-2/+4 2010-03-01bisect: error out when passing bad path parametersChristian Couder2-0/+11 2010-02-28Git 1.7.0.1v1.7.0.1Junio C Hamano3-7/+12 2010-02-28Remove reference to GREP_COLORS from documentationMark Lodato1-3/+1