summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
Commit message (Expand)AuthorAgeFilesLines
* add UNLEAK annotation for reducing leak false positivesJeff King2017-09-081-0/+2
* config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* real_pathdup(): fix callsites that wanted it to die on errorjs/realpath-pathdup-fixJohannes Schindelin2017-03-081-3/+3
* refs: add option core.logAllRefUpdates = alwaysCornelius Weig2017-01-311-1/+1
* real_path: have callers use real_pathdup and strbuf_realpathBrandon Williams2016-12-121-3/+3
* Merge branch 'nd/init-core-worktree-in-multi-worktree-world'Junio C Hamano2016-10-031-40/+31
|\
| * init: kill git_link variablend/init-core-worktree-in-multi-worktree-worldNguyễn Thái Ngọc Duy2016-09-251-12/+4
| * init: do not set unnecessary core.worktreeNguyễn Thái Ngọc Duy2016-09-251-3/+6
| * init: kill set_git_dir_init()Nguyễn Thái Ngọc Duy2016-09-251-29/+21
| * init: call set_git_dir_init() from within init_db()Nguyễn Thái Ngọc Duy2016-09-251-7/+11
| * init: correct re-initialization from a linked worktreeNguyễn Thái Ngọc Duy2016-09-251-1/+1
* | Merge branch 'jk/setup-sequence-update'Junio C Hamano2016-09-211-4/+13
|\ \ | |/
| * init: reset cached config when entering new repoJeff King2016-09-131-0/+6
| * init: expand comments explaining config trickeryJeff King2016-09-131-4/+7
| * Merge branch 'jk/check-repository-format' into maintJunio C Hamano2016-05-021-21/+24
| |\
* | \ Merge branch 'mh/ref-store'Junio C Hamano2016-09-191-10/+11
|\ \ \
| * | | refs: add methods to init refs dbDavid Turner2016-09-091-10/+11
* | | | i18n: init-db: join message piecesVasco Almeida2016-06-171-7/+10
|/ / /
* | | Merge branch 'jk/check-repository-format'Junio C Hamano2016-04-131-21/+24
|\ \ \ | |/ / |/| / | |/
| * init: use setup.c's repo version verificationJeff King2016-03-111-9/+12
| * wrap shared_repository global in get/set accessorsJeff King2016-03-111-12/+12
* | setup: set startup_info->have_repository more reliablyJeff King2016-03-061-0/+1
|/
* config: rename git_config_set_or_die to git_config_setps/config-errorPatrick Steinhardt2016-02-221-10/+10
* init-db: die on config errors when initializing empty repoPatrick Steinhardt2016-02-221-10/+10
* initdb: make safe_create_dir publicDavid Turner2015-11-201-12/+0
* init: use strbufs to store pathsJeff King2015-10-051-98/+74
* probe_utf8_pathname_composition: use internal strbufJeff King2015-10-051-1/+1
* convert trivial sprintf / strcpy calls to xsnprintfJeff King2015-09-251-5/+6
* write_file(): drop caller-supplied LF from calls to create a one-liner filejc/am-state-fixJunio C Hamano2015-08-251-1/+1
* write_file(): drop "fatal" parameterJunio C Hamano2015-08-241-1/+1
* refs: move the remaining ref module declarations to refs.hMichael Haggerty2015-06-221-0/+1
* Merge branch 'nd/multiple-work-trees'Junio C Hamano2015-05-111-6/+1
|\
| * use new wrapper write_file() for simple file writingNguyễn Thái Ngọc Duy2014-12-011-6/+1
* | Merge branch 'jk/init-core-worktree-at-root'Junio C Hamano2015-05-051-3/+15
|\ \
| * | init: don't set core.worktree when initializing /.gitjk/init-core-worktree-at-rootJeff King2015-04-021-3/+15
* | | standardize usage info string formatAlex Henrie2015-01-141-1/+1
* | | Merge branch 'jc/exec-cmd-system-path-leak-fix'Junio C Hamano2014-12-221-5/+10
|\ \ \
| * | | system_path(): always return free'able memory to the callerjc/exec-cmd-system-path-leak-fixJunio C Hamano2014-11-301-5/+10
| |/ /
* | | Merge branch 'tb/config-core-filemode-check-on-broken-fs'Junio C Hamano2014-12-221-0/+2
|\ \ \
| * | | init-db: improve the filemode trustability checktb/config-core-filemode-check-on-broken-fsTorsten Bögershausen2014-11-211-0/+2
* | | | Merge branch 'mh/config-flip-xbit-back-after-checking'Junio C Hamano2014-12-051-1/+2
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | create_default_files(): don't set u+x bit on $GIT_DIR/configmh/config-flip-xbit-back-after-checkingMichael Haggerty2014-11-181-1/+2
| |/
* | Merge branch 'rs/strbuf-getcwd'Junio C Hamano2014-09-021-13/+11
|\ \
| * | use xgetcwd() to set $GIT_DIRRené Scharfe2014-08-261-4/+3
| * | use xgetcwd() to get the current directory or dieRené Scharfe2014-08-261-9/+8
| |/
* | init: avoid superfluous real_path() callsrs/init-no-duplicate-real-pathRené Scharfe2014-07-281-4/+4
|/
* i18n: only extract comments marked with "TRANSLATORS:"Jiang Xin2014-04-171-5/+3
* Merge branch 'mh/safe-create-leading-directories'Junio C Hamano2014-01-271-4/+5
|\
| * cmd_init_db(): when creating directories, handle errors conservativelyMichael Haggerty2014-01-061-3/+4
| * safe_create_leading_directories(): introduce enum for return valuesMichael Haggerty2014-01-061-2/+2