612137e171
Whilst trying to convert the add vendor branch script to work with personal branches I encountered a minor issue where git would report ambiguous refs when checking out the new branch. It turns out that this is because git considers <me>/<topic> to be ambiguous if both refs/heads/<me>/<topic> and refs/remotes/<me>/<topic> exist in the list of known branches. Having thought about this a bit, I think the best solution is to adopt something more like the vendors space and call the remote users/<me> (this also works better if you want to set up remotes to track other users branches as well). So this patch has two parts. 1) It updates gcc-git-customization.sh to set up the new 'remote' and converts any existing remote and branches tracking that to the new format 2) It adds a new script to set up a personal branch on the gcc git repository. * gcc-git-customization.sh: Use users/<pfx> for the personal remote rather than just <pfx>. Convert any existing personal branches to the new remote. * git-add-user-branch.sh: New file. |
||
---|---|---|
.. | ||
header-tools | ||
reghunt | ||
regression | ||
testsuite-management | ||
unicode | ||
vim-gcc-dev | ||
analyze_brprob_spec.py | ||
analyze_brprob.py | ||
bench-stringop | ||
ChangeLog | ||
ChangeLog.jit | ||
ChangeLog.tree-ssa | ||
check_GNU_style_lib.py | ||
check_GNU_style.py | ||
check_GNU_style.sh | ||
check_makefile_deps.sh | ||
check_warning_flags.sh | ||
check-internal-format-escaping.py | ||
check-params-in-docs.py | ||
clang-format | ||
compare_tests | ||
compare_two_ftime_report_sets | ||
compare-all-tests | ||
compare-debug | ||
compare-lto | ||
compareSumTests3 | ||
config-list.mk | ||
dg-cmp-results.sh | ||
dg-extract-results.py | ||
dg-extract-results.sh | ||
dglib.pm | ||
download_prerequisites | ||
filter_gcc_for_doxygen | ||
filter_knr2ansi.pl | ||
filter_params.py | ||
filter-clang-warnings.py | ||
gcc_build | ||
gcc_update | ||
gcc-git-customization.sh | ||
gcc.doxy | ||
gen_autofdo_event.py | ||
gennews | ||
git-add-user-branch.sh | ||
git-add-vendor-branch.sh | ||
git-fetch-vendor.sh | ||
gthr_supp_vxw_5x.c | ||
index-prop | ||
jit-coverage-report.py | ||
maintainers-verify.sh | ||
make_sunver.pl | ||
make-obstacks-texi.pl | ||
mark_spam.py | ||
mklog | ||
mklog.pl | ||
paranoia.cc | ||
patch_tester.sh | ||
prepare_patch.sh | ||
prerequisites.md5 | ||
prerequisites.sha512 | ||
repro_fail | ||
test_installed | ||
test_recheck | ||
test_summary | ||
texi2pod.pl | ||
uninclude | ||
unused_functions.py | ||
update-copyright.py | ||
vimrc | ||
warn_summary |