45 Commits (c1b40bd7b616792de5f307ecdfd8ac45573bc4f9)

Author SHA1 Message Date
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
Torsten Bögershausen 76759c7dff git on Mac OS and precomposed unicode 13 years ago
Ævar Arnfjörð Bjarmason 97f261b1e7 builtin/init-db.c: eliminate -Wformat warning on Solaris 13 years ago
Junio C Hamano 13d6ec9133 read_gitfile_gently(): rename misnamed function to read_gitfile() 14 years ago
Nguyen Thai Ngoc Duy 09ffc706e4 init/clone: remove short option -L and document --separate-git-dir 14 years ago
Ævar Arnfjörð Bjarmason 2c050e017a i18n: mark init-db messages for translation 14 years ago
Nguyễn Thái Ngọc Duy b57fb80a7d init, clone: support --separate-git-dir for .git file 14 years ago
Carlos Martín Nieto e2a57aac8a Name make_*_path functions more accurately 14 years ago
Ævar Arnfjörð Bjarmason 3e5dd7e960 i18n: git-init "Initialized [...] repository" message 14 years ago
Ævar Arnfjörð Bjarmason 33e92e47c5 i18n: git-init basic messages 14 years ago
Nguyễn Thái Ngọc Duy b31d20227a init: remove unnecessary check 14 years ago
Michael J Gruber 5027fa864d clone,init: describe --template using the same wording 14 years ago
Nguyễn Thái Ngọc Duy 835183603b Remove all logic from get_git_work_tree() 14 years ago
Nguyễn Thái Ngọc Duy e6aea2dba2 setup: limit get_git_work_tree()'s to explicit setup case only 14 years ago
Jonathan Nieder 9173912be3 init: plug tiny one-time memory leak 14 years ago
Jeff King 87a074df24 handle "git --bare init <dir>" properly 15 years ago
Linus Torvalds 81b50f3ce4 Move 'builtin-*' into a 'builtin/' subdirectory 15 years ago
Steven Drake 90b45187ba Add `init.templatedir` configuration variable. 15 years ago
Nguyễn Thái Ngọc Duy d06f15d9c0 init-db, rev-parse --git-dir: do not append redundant slash 15 years ago
Nanako Shiraishi 53d4888593 git init: optionally allow a directory argument 16 years ago
Michał Kiedrowicz 596f91ee70 init-db: migrate to parse-options 16 years ago
Thomas Rast 0721c314a5 Use die_errno() instead of die() when checking syscalls 16 years ago
Frank Lichtenheld 32d1776b13 init: Do not segfault on big GIT_TEMPLATE_DIR environment variable 16 years ago
Junio C Hamano 5a688fe470 "core.sharedrepository = 0mode" should set, not loosen 16 years ago
Miklos Vajna 2fd8c0a5db builtin-init-db: use warning() instead of fprintf(stderr, "warning: ") 16 years ago
Alexander Potashev d75307084d remove trailing LF in die() messages 16 years ago
Deskin Miller 0a2c7eea41 git init: --bare/--shared overrides system/global config 17 years ago
Heikki Orsila f18d244a63 Start conforming code to "git subcmd" style part 3 17 years ago
Jeff King d65d2b2fb4 init: handle empty "template" parameter 17 years ago
Jeff King 172035f044 init: handle empty "template" parameter 17 years ago
Steffen Prohaska 2de9de5e4a Move code interpreting path relative to exec-dir to new function system_path() 17 years ago
Stephan Beyer 1b1dd23f2d Make usage strings dash-less 17 years ago
Luciano Rocha 74d3b23fe3 git-init: accept --bare option 17 years ago
Johannes Schindelin ef90d6d420 Provide git_config with a callback-data parameter 17 years ago