index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
builtin
/
init-db.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-01-16
Merge branch 'ps/refstorage-extension'
Junio C Hamano
1
-1
/
+15
2024-01-02
builtin/init: introduce `--ref-format=` value flag
Patrick Steinhardt
1
-1
/
+12
2024-01-02
setup: start tracking ref storage format
Patrick Steinhardt
1
-1
/
+3
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-07-05
treewide: remove unnecessary includes for wrapper.h
Calvin Wan
1
-1
/
+0
2023-06-21
builtin.h: remove unneccessary includes
Elijah Newren
1
-0
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-2
/
+1
2023-06-21
setup: adopt shared init-db & clone code
Elijah Newren
1
-496
/
+0
2023-06-21
init-db, clone: change unnecessary global into passed parameter
Elijah Newren
1
-4
/
+5
2023-06-21
init-db: remove unnecessary global variable
Elijah Newren
1
-5
/
+7
2023-06-21
init-db: document existing bug with core.bare in template config
Elijah Newren
1
-1
/
+28
2023-04-24
hash-ll.h: split out of hash.h to remove dependency on repository.h
Elijah Newren
1
-0
/
+1
2023-04-24
copy.h: move declarations for copy.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-file.h: move declarations for object-file.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
environment.h: move declarations for environment.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
wrapper.h: move declarations for wrapper.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
abspath.h: move absolute path functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2022-10-13
doc txt & -h consistency: add missing options
Ævar Arnfjörð Bjarmason
1
-0
/
+2
2022-10-13
doc txt & -h consistency: word-wrap
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2022-01-05
i18n: refactor "foo and bar are mutually exclusive"
Jean-Noël Avila
1
-1
/
+1
2021-05-25
Merge branch 'mt/init-template-userpath-fix'
Junio C Hamano
1
-1
/
+2
2021-05-25
init: fix bug regarding ~/ expansion in init.templateDir
Matheus Tavares
1
-1
/
+2
2021-04-07
Merge branch 'ah/plugleaks'
Junio C Hamano
1
-22
/
+10
2021-03-14
init-db: silence template_dir leak when converting to absolute path
Andrzej Hunt
1
-1
/
+3
2021-03-14
init: remove git_init_db_config() while fixing leaks
Andrzej Hunt
1
-21
/
+7
2021-03-10
builtin/init-db: handle bare clones when core.bare set to false
brian m. carlson
1
-2
/
+2
2020-12-13
get_default_branch_name(): prepare for showing some advice
Johannes Schindelin
1
-3
/
+5
2020-09-22
builtin/clone: avoid failure with GIT_DEFAULT_HASH
brian m. carlson
1
-2
/
+4
2020-08-31
init: make --separate-git-dir work from within linked worktree
Eric Sunshine
1
-0
/
+24
2020-08-31
init: teach --separate-git-dir to repair linked worktrees
Eric Sunshine
1
-0
/
+2
2020-08-24
Merge branch 'es/init-no-separate-git-dir-in-bare'
Junio C Hamano
1
-0
/
+5
2020-08-10
init: disallow --separate-git-dir with bare repository
Eric Sunshine
1
-0
/
+5
2020-07-30
repository: enable SHA-256 support by default
brian m. carlson
1
-5
/
+0
2020-06-24
init: allow setting the default for the initial branch name via the config
Don Goodman-Wilson
1
-1
/
+1
2020-06-24
init: allow specifying the initial branch name for the new repository
Johannes Schindelin
1
-6
/
+27
2020-03-26
Merge branch 'bc/sha-256-part-1-of-4'
Junio C Hamano
1
-10
/
+65
2020-03-06
set_git_dir: fix crash when used with real_path()
Alexandr Miloslavskiy
1
-2
/
+2
2020-02-24
init-db: move writing repo version into a function
brian m. carlson
1
-18
/
+24
2020-02-24
builtin/init-db: add environment variable for new repo hash
brian m. carlson
1
-0
/
+9
2020-02-24
builtin/init-db: allow specifying hash algorithm on command line
brian m. carlson
1
-6
/
+46
2020-02-24
setup: allow check_repository_format to read repository format
brian m. carlson
1
-1
/
+1
2019-06-13
Merge branch 'nd/init-relative-template-fix'
Junio C Hamano
1
-0
/
+3
2019-05-13
init: make --template path relative to $CWD
Nguyễn Thái Ngọc Duy
1
-0
/
+3
2019-04-16
Merge branch 'js/init-db-update-for-mingw'
Junio C Hamano
1
-0
/
+7
2019-03-20
Merge branch 'ma/clear-repository-format'
Junio C Hamano
1
-1
/
+2
2019-03-12
mingw: respect core.hidedotfiles = false in git-init again
Johannes Schindelin
1
-0
/
+7
2019-03-01
setup: fix memory leaks with `struct repository_format`
Martin Ågren
1
-1
/
+2
2019-01-29
Merge branch 'jk/save-getenv-result'
Junio C Hamano
1
-2
/
+4
2019-01-11
init: make a copy of $GIT_DIR string
Jeff King
1
-2
/
+4
2018-11-06
assert NOARG/NONEG behavior of parse-options callbacks
Jeff King
1
-0
/
+1
2018-07-24
pass st.st_size as hint for strbuf_readlink()
Jeff King
1
-1
/
+2
2018-06-01
Merge branch 'rd/init-typo'
Junio C Hamano
1
-1
/
+1
2018-05-30
init: fix grammar in "templates not found" msg
Robert P. J. Day
1
-1
/
+1
2018-05-06
Replace all die("BUG: ...") calls by BUG() ones
Johannes Schindelin
1
-1
/
+1
2018-04-11
exec_cmd: rename to use dash in file name
Stefan Beller
1
-1
/
+1
2018-02-22
init-db: rename 'template' variables
Brandon Williams
1
-15
/
+15
2017-09-08
add UNLEAK annotation for reducing leak false positives
Jeff King
1
-0
/
+2
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-03-08
real_pathdup(): fix callsites that wanted it to die on error
Johannes Schindelin
1
-3
/
+3
2017-01-31
refs: add option core.logAllRefUpdates = always
Cornelius Weig
1
-1
/
+1
2016-12-12
real_path: have callers use real_pathdup and strbuf_realpath
Brandon Williams
1
-3
/
+3
2016-10-03
Merge branch 'nd/init-core-worktree-in-multi-worktree-world'
Junio C Hamano
1
-40
/
+31
2016-09-25
init: kill git_link variable
Nguyễn Thái Ngọc Duy
1
-12
/
+4
2016-09-25
init: do not set unnecessary core.worktree
Nguyễn Thái Ngọc Duy
1
-3
/
+6
2016-09-25
init: kill set_git_dir_init()
Nguyễn Thái Ngọc Duy
1
-29
/
+21
2016-09-25
init: call set_git_dir_init() from within init_db()
Nguyễn Thái Ngọc Duy
1
-7
/
+11
2016-09-25
init: correct re-initialization from a linked worktree
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2016-09-21
Merge branch 'jk/setup-sequence-update'
Junio C Hamano
1
-4
/
+13
2016-09-19
Merge branch 'mh/ref-store'
Junio C Hamano
1
-10
/
+11
2016-09-13
init: reset cached config when entering new repo
Jeff King
1
-0
/
+6
2016-09-13
init: expand comments explaining config trickery
Jeff King
1
-4
/
+7
2016-09-09
refs: add methods to init refs db
David Turner
1
-10
/
+11
2016-06-17
i18n: init-db: join message pieces
Vasco Almeida
1
-7
/
+10
2016-05-02
Merge branch 'jk/check-repository-format' into maint
Junio C Hamano
1
-21
/
+24
2016-04-13
Merge branch 'jk/check-repository-format'
Junio C Hamano
1
-21
/
+24
2016-03-11
init: use setup.c's repo version verification
Jeff King
1
-9
/
+12
2016-03-11
wrap shared_repository global in get/set accessors
Jeff King
1
-12
/
+12
2016-03-06
setup: set startup_info->have_repository more reliably
Jeff King
1
-0
/
+1
2016-02-22
config: rename git_config_set_or_die to git_config_set
Patrick Steinhardt
1
-10
/
+10
2016-02-22
init-db: die on config errors when initializing empty repo
Patrick Steinhardt
1
-10
/
+10
2015-11-20
initdb: make safe_create_dir public
David Turner
1
-12
/
+0
2015-10-05
init: use strbufs to store paths
Jeff King
1
-98
/
+74
2015-10-05
probe_utf8_pathname_composition: use internal strbuf
Jeff King
1
-1
/
+1
2015-09-25
convert trivial sprintf / strcpy calls to xsnprintf
Jeff King
1
-5
/
+6
2015-08-25
write_file(): drop caller-supplied LF from calls to create a one-liner file
Junio C Hamano
1
-1
/
+1
2015-08-24
write_file(): drop "fatal" parameter
Junio C Hamano
1
-1
/
+1
2015-06-22
refs: move the remaining ref module declarations to refs.h
Michael Haggerty
1
-0
/
+1
2015-05-11
Merge branch 'nd/multiple-work-trees'
Junio C Hamano
1
-6
/
+1
2015-05-05
Merge branch 'jk/init-core-worktree-at-root'
Junio C Hamano
1
-3
/
+15
2015-04-02
init: don't set core.worktree when initializing /.git
Jeff King
1
-3
/
+15
2015-01-14
standardize usage info string format
Alex Henrie
1
-1
/
+1
2014-12-22
Merge branch 'jc/exec-cmd-system-path-leak-fix'
Junio C Hamano
1
-5
/
+10
2014-12-22
Merge branch 'tb/config-core-filemode-check-on-broken-fs'
Junio C Hamano
1
-0
/
+2
2014-12-05
Merge branch 'mh/config-flip-xbit-back-after-checking'
Junio C Hamano
1
-1
/
+2
2014-12-01
use new wrapper write_file() for simple file writing
Nguyễn Thái Ngọc Duy
1
-6
/
+1
2014-11-30
system_path(): always return free'able memory to the caller
Junio C Hamano
1
-5
/
+10
2014-11-21
init-db: improve the filemode trustability check
Torsten Bögershausen
1
-0
/
+2
2014-11-18
create_default_files(): don't set u+x bit on $GIT_DIR/config
Michael Haggerty
1
-1
/
+2
2014-09-02
Merge branch 'rs/strbuf-getcwd'
Junio C Hamano
1
-13
/
+11
2014-08-26
use xgetcwd() to set $GIT_DIR
René Scharfe
1
-4
/
+3
2014-08-26
use xgetcwd() to get the current directory or die
René Scharfe
1
-9
/
+8
2014-07-28
init: avoid superfluous real_path() calls
René Scharfe
1
-4
/
+4
2014-04-17
i18n: only extract comments marked with "TRANSLATORS:"
Jiang Xin
1
-5
/
+3
2014-01-27
Merge branch 'mh/safe-create-leading-directories'
Junio C Hamano
1
-4
/
+5
2014-01-06
cmd_init_db(): when creating directories, handle errors conservatively
Michael Haggerty
1
-3
/
+4
2014-01-06
safe_create_leading_directories(): introduce enum for return values
Michael Haggerty
1
-2
/
+2
2013-12-05
replace {pre,suf}fixcmp() with {starts,ends}_with()
Christian Couder
1
-1
/
+1
2012-08-20
i18n: init-db: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy
1
-9
/
+9
2012-07-08
git on Mac OS and precomposed unicode
Torsten Bögershausen
1
-0
/
+1
2011-12-20
builtin/init-db.c: eliminate -Wformat warning on Solaris
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2011-08-22
read_gitfile_gently(): rename misnamed function to read_gitfile()
Junio C Hamano
1
-1
/
+1
2011-05-25
Merge branch 'maint'
Junio C Hamano
1
-1
/
+1
2011-05-25
init/clone: remove short option -L and document --separate-git-dir
Nguyen Thai Ngoc Duy
1
-1
/
+1
2011-04-12
i18n: mark init-db messages for translation
Ævar Arnfjörð Bjarmason
1
-5
/
+5
2011-04-01
Merge branch 'nd/init-gitdir'
Junio C Hamano
1
-3
/
+65
2011-04-01
Merge branch 'ab/i18n-st'
Junio C Hamano
1
-26
/
+32
2011-03-19
init, clone: support --separate-git-dir for .git file
Nguyễn Thái Ngọc Duy
1
-3
/
+65
2011-03-17
Name make_*_path functions more accurately
Carlos Martín Nieto
1
-4
/
+4
2011-03-09
i18n: git-init "Initialized [...] repository" message
Ævar Arnfjörð Bjarmason
1
-3
/
+9
2011-03-09
i18n: git-init basic messages
Ævar Arnfjörð Bjarmason
1
-23
/
+23
2011-03-03
init: remove unnecessary check
Nguyễn Thái Ngọc Duy
1
-7
/
+5
2011-02-15
clone,init: describe --template using the same wording
Michael J Gruber
1
-1
/
+1
2010-12-22
Remove all logic from get_git_work_tree()
Nguyễn Thái Ngọc Duy
1
-3
/
+11
2010-12-22
setup: limit get_git_work_tree()'s to explicit setup case only
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2010-10-06
init: plug tiny one-time memory leak
Jonathan Nieder
1
-13
/
+19
2010-05-10
handle "git --bare init <dir>" properly
Jeff King
1
-1
/
+1
2010-03-10
Merge branch 'sd/init-template'
Junio C Hamano
1
-0
/
+14
2010-03-10
Merge branch 'lt/deepen-builtin-source'
Junio C Hamano
1
-0
/
+501
2010-02-22
Move 'builtin-*' into a 'builtin/' subdirectory
Linus Torvalds
1
-0
/
+498