summaryrefslogtreecommitdiffstats
path: root/builtin/init-db.c
AgeCommit message (Expand)AuthorLines
2024-04-17init: refactor the template directory discovery into its own functionJohannes Schindelin-18/+4
2022-10-13doc txt & -h consistency: add missing optionsÆvar Arnfjörð Bjarmason-0/+2
2022-10-13doc txt & -h consistency: word-wrapÆvar Arnfjörð Bjarmason-1/+2
2022-01-05i18n: refactor "foo and bar are mutually exclusive"Jean-Noël Avila-1/+1
2021-05-25Merge branch 'mt/init-template-userpath-fix'Junio C Hamano-1/+2
2021-05-25init: fix bug regarding ~/ expansion in init.templateDirMatheus Tavares-1/+2
2021-04-07Merge branch 'ah/plugleaks'Junio C Hamano-22/+10
2021-03-14init-db: silence template_dir leak when converting to absolute pathAndrzej Hunt-1/+3
2021-03-14init: remove git_init_db_config() while fixing leaksAndrzej Hunt-21/+7
2021-03-10builtin/init-db: handle bare clones when core.bare set to falsebrian m. carlson-2/+2
2020-12-13get_default_branch_name(): prepare for showing some adviceJohannes Schindelin-3/+5
2020-09-22builtin/clone: avoid failure with GIT_DEFAULT_HASHbrian m. carlson-2/+4
2020-08-31init: make --separate-git-dir work from within linked worktreeEric Sunshine-0/+24
2020-08-31init: teach --separate-git-dir to repair linked worktreesEric Sunshine-0/+2
2020-08-24Merge branch 'es/init-no-separate-git-dir-in-bare'Junio C Hamano-0/+5
2020-08-10init: disallow --separate-git-dir with bare repositoryEric Sunshine-0/+5
2020-07-30repository: enable SHA-256 support by defaultbrian m. carlson-5/+0
2020-06-24init: allow setting the default for the initial branch name via the configDon Goodman-Wilson-1/+1
2020-06-24init: allow specifying the initial branch name for the new repositoryJohannes Schindelin-6/+27
2020-03-26Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano-10/+65
2020-03-06set_git_dir: fix crash when used with real_path()Alexandr Miloslavskiy-2/+2
2020-02-24init-db: move writing repo version into a functionbrian m. carlson-18/+24
2020-02-24builtin/init-db: add environment variable for new repo hashbrian m. carlson-0/+9
2020-02-24builtin/init-db: allow specifying hash algorithm on command linebrian m. carlson-6/+46
2020-02-24setup: allow check_repository_format to read repository formatbrian m. carlson-1/+1
2019-06-13Merge branch 'nd/init-relative-template-fix'Junio C Hamano-0/+3
2019-05-13init: make --template path relative to $CWDNguyễn Thái Ngọc Duy-0/+3
2019-04-16Merge branch 'js/init-db-update-for-mingw'Junio C Hamano-0/+7
2019-03-20Merge branch 'ma/clear-repository-format'Junio C Hamano-1/+2
2019-03-12mingw: respect core.hidedotfiles = false in git-init againJohannes Schindelin-0/+7
2019-03-01setup: fix memory leaks with `struct repository_format`Martin Ågren-1/+2
2019-01-29Merge branch 'jk/save-getenv-result'Junio C Hamano-2/+4
2019-01-11init: make a copy of $GIT_DIR stringJeff King-2/+4
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksJeff King-0/+1
2018-07-24pass st.st_size as hint for strbuf_readlink()Jeff King-1/+2
2018-06-01Merge branch 'rd/init-typo'Junio C Hamano-1/+1
2018-05-30init: fix grammar in "templates not found" msgRobert P. J. Day-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin-1/+1
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller-1/+1
2018-02-22init-db: rename 'template' variablesBrandon Williams-15/+15
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King-0/+2
2017-06-15config: don't include config.h by defaultBrandon Williams-0/+1
2017-03-08real_pathdup(): fix callsites that wanted it to die on errorJohannes Schindelin-3/+3
2017-01-31refs: add option core.logAllRefUpdates = alwaysCornelius Weig-1/+1
2016-12-12real_path: have callers use real_pathdup and strbuf_realpathBrandon Williams-3/+3
2016-10-03Merge branch 'nd/init-core-worktree-in-multi-worktree-world'Junio C Hamano-40/+31
2016-09-25init: kill git_link variableNguyễn Thái Ngọc Duy-12/+4
2016-09-25init: do not set unnecessary core.worktreeNguyễn Thái Ngọc Duy-3/+6
2016-09-25init: kill set_git_dir_init()Nguyễn Thái Ngọc Duy-29/+21
2016-09-25init: call set_git_dir_init() from within init_db()Nguyễn Thái Ngọc Duy-7/+11