88 Commits (92ac04b8ee4438fe49eff037a65410ecc866ea1a)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy e1df7fe43f init: make --template path relative to $CWD 6 years ago
Johannes Schindelin 287853392a mingw: respect core.hidedotfiles = false in git-init again 6 years ago
Martin Ågren e8805af1c3 setup: fix memory leaks with `struct repository_format` 6 years ago
Jeff King e5b07c539d init: make a copy of $GIT_DIR string 6 years ago
Jeff King 517fe807d6 assert NOARG/NONEG behavior of parse-options callbacks 6 years ago
Jeff King 765b496dc6 pass st.st_size as hint for strbuf_readlink() 7 years ago
Robert P. J. Day 44f560fc16 init: fix grammar in "templates not found" msg 7 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Stefan Beller d807c4a01d exec_cmd: rename to use dash in file name 7 years ago
Brandon Williams fa0fccae6a init-db: rename 'template' variables 7 years ago
Jeff King 0e5bba53af add UNLEAK annotation for reducing leak false positives 7 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Johannes Schindelin ce83eadd9a real_pathdup(): fix callsites that wanted it to die on error 8 years ago
Cornelius Weig 341fb28621 refs: add option core.logAllRefUpdates = always 8 years ago
Brandon Williams 4ac9006f83 real_path: have callers use real_pathdup and strbuf_realpath 8 years ago
Nguyễn Thái Ngọc Duy 822d9406c0 init: kill git_link variable 8 years ago
Nguyễn Thái Ngọc Duy 6311cfaf93 init: do not set unnecessary core.worktree 8 years ago
Nguyễn Thái Ngọc Duy 1bd1907951 init: kill set_git_dir_init() 8 years ago
Nguyễn Thái Ngọc Duy 33158701e2 init: call set_git_dir_init() from within init_db() 8 years ago
Nguyễn Thái Ngọc Duy fe9aa0b22e init: correct re-initialization from a linked worktree 8 years ago
Jeff King 4543926ba8 init: reset cached config when entering new repo 8 years ago
Jeff King 7c0a842b46 init: expand comments explaining config trickery 8 years ago
David Turner 6fb5acfd8f refs: add methods to init refs db 8 years ago
Vasco Almeida c30364d080 i18n: init-db: join message pieces 9 years ago
Jeff King 94ce167249 init: use setup.c's repo version verification 9 years ago
Jeff King 7875acb6ec wrap shared_repository global in get/set accessors 9 years ago
Jeff King f1c126bd8b setup: set startup_info->have_repository more reliably 9 years ago
Patrick Steinhardt 3d1806487a config: rename git_config_set_or_die to git_config_set 9 years ago
Patrick Steinhardt 695009bc09 init-db: die on config errors when initializing empty repo 9 years ago
David Turner eb33876c26 initdb: make safe_create_dir public 9 years ago
Jeff King 9c28390bda init: use strbufs to store paths 9 years ago
Jeff King fdf729661a probe_utf8_pathname_composition: use internal strbuf 9 years ago
Jeff King 5096d4909f convert trivial sprintf / strcpy calls to xsnprintf 9 years ago
Junio C Hamano 1f76a10b2d write_file(): drop caller-supplied LF from calls to create a one-liner file 10 years ago
Junio C Hamano 12d6ce1dba write_file(): drop "fatal" parameter 10 years ago
Michael Haggerty fb58c8d507 refs: move the remaining ref module declarations to refs.h 10 years ago
Jeff King 84ccad8dec init: don't set core.worktree when initializing /.git 10 years ago
Alex Henrie 9c9b4f2f8b standardize usage info string format 10 years ago
Nguyễn Thái Ngọc Duy 91aacda85a use new wrapper write_file() for simple file writing 10 years ago
Junio C Hamano 59362e560d system_path(): always return free'able memory to the caller 10 years ago
Torsten Bögershausen c7bf68d6b4 init-db: improve the filemode trustability check 10 years ago
Michael Haggerty 1f32ecffd8 create_default_files(): don't set u+x bit on $GIT_DIR/config 10 years ago
René Scharfe 4d3ab44d26 use xgetcwd() to set $GIT_DIR 11 years ago
René Scharfe 56b9f6e738 use xgetcwd() to get the current directory or die 11 years ago
René Scharfe 2d186c8be5 init: avoid superfluous real_path() calls 11 years ago
Jiang Xin 47fbfded53 i18n: only extract comments marked with "TRANSLATORS:" 11 years ago
Michael Haggerty f3565c0ca5 cmd_init_db(): when creating directories, handle errors conservatively 11 years ago
Michael Haggerty 0be0521b23 safe_create_leading_directories(): introduce enum for return values 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Nguyễn Thái Ngọc Duy ce4a5e53d5 i18n: init-db: mark parseopt strings for translation 13 years ago