4 Commits (ec136663c7d5a8e2ce1664ce79f2297e2e61c86f)

Author SHA1 Message Date
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 16 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
Dmitry Potapov 2455406ab1 git-init: autodetect core.ignorecase 17 years ago
Daniel Barkalow f225aeb278 Provide API access to init_db() 17 years ago
Heikki Orsila 06cbe85503 Make core.sharedRepository more generic 17 years ago
Johannes Schindelin 5cc8f37250 init: show "Reinit" message even in an (existing) empty repository 17 years ago
Daniel Barkalow 1468bd4783 Use a single implementation and API for copy_file() 17 years ago
Johannes Sixt ef5b9d6e22 Fix misuse of prefix_path() 17 years ago
Junio C Hamano 7a5375395f fix misuse of prefix_path() 17 years ago
Johannes Sixt a47d181380 Allow a relative builtin template directory. 17 years ago
Junio C Hamano 75d2449903 git-init: autodetect core.symlinks 18 years ago
Junio C Hamano 6adcca3fe8 Fix initialization of a bare repository 18 years ago
Johannes Schindelin e90fdc39b6 Clean up work-tree handling 18 years ago
Matthias Lederhofer ef6f0af2b6 git-init: set core.worktree if GIT_WORK_TREE is specified 18 years ago
Jeffrey C. Ollie 4576518dd7 Add an option to quiet git-init. 18 years ago
Jim Meyering 91c8d5905c detect close failure on just-written file handles 18 years ago
Johannes Sixt d52fd42acd Remove trailing slash from $(template_dir). 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Nicolas Pitre 8b5157e407 add logref support to git-symbolic-ref 18 years ago
Alex Riesen 196055c2db Allow default core.logallrefupdates to be overridden with template's config 18 years ago
Nicolas Pitre 5c94f87e6b use 'init' instead of 'init-db' for shipped docs and tools 18 years ago
Junio C Hamano 7d1864ce67 Introduce is_bare_repository() and core.bare configuration variable 18 years ago
Nicolas Pitre 515377ea9e "init-db" can really be just "init" 18 years ago
Shawn O. Pearce c869753ebb Force core.filemode to false on Cygwin. 18 years ago
Junio C Hamano d4ebc36c5e Use preprocessor constants for environment variable names. 18 years ago
Johannes Schindelin 8683a45d66 Introduce GIT_TEMPLATE_DIR 18 years ago
Shawn O. Pearce 0bee591869 Enable reflogs by default in any repository with a working directory. 18 years ago
Shawn O. Pearce ef0a89a604 Provide more meaningful output from 'git init-db'. 18 years ago
Johannes Schindelin 11031d7e9f add receive.denyNonFastforwards config variable 19 years ago
Linus Torvalds ed378ec7e8 Make ref resolution saner 19 years ago
Ramsay Allan Jones 8cdf33643d Replace some calls to die(usage_str) with usage(usage_str). 19 years ago
Linus Torvalds a633fca0c0 Call setup_git_directory() much earlier 19 years ago
Junio C Hamano 94df2506ed shared repository: optionally allow reading to "others". 19 years ago