113 Commits (a33fb40fe477fa1a9ce882230415f19378959390)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy a60645f9c5 setup: remember whether repository was found 15 years ago
Nguyễn Thái Ngọc Duy 98937bef1b setup: split off a function to handle ordinary .git directories 15 years ago
Nguyễn Thái Ngọc Duy 8fc0ae80f6 setup: do not forget working dir from subdir of gitdir 15 years ago
Jonathan Nieder 60c98d1e80 setup: split off get_device_or_die helper 15 years ago
Jonathan Nieder f161edebb6 setup: split off a function to handle hitting ceiling in repo search 15 years ago
Jonathan Nieder 68698da540 setup: split off code to handle stumbling upon a repository 15 years ago
Jonathan Nieder 93a00542ea setup: split off a function to checks working dir for .git file 15 years ago
Jonathan Nieder e4e303479b setup: split off $GIT_DIR-set case from setup_git_directory_gently 15 years ago
Greg Brockman 1b0b962d77 Check size of path buffer before writing into it 15 years ago
Greg Brockman 3c9d0414ed Check size of path buffer before writing into it 15 years ago
Raja R Harinath c7d1d1b132 Use dev_t for device id (st_dev) from stat in setup_git_directory_gently() 15 years ago
Clemens Buchacher e1e5ec868f setup: document prefix 15 years ago
Junio C Hamano cf87463e79 Rename ONE_FILESYSTEM to DISCOVERY_ACROSS_FILESYSTEM 15 years ago
Junio C Hamano e640551773 GIT_ONE_FILESYSTEM: flip the default to stop at filesystem boundaries 15 years ago
Lars R. Damerow 8030e44215 Add support for GIT_ONE_FILESYSTEM 15 years ago
Lars R. Damerow 502ffe3491 truncate cwd string before printing error message 15 years ago
Nguyễn Thái Ngọc Duy 72ec8ba6dd Support working directory located at root 15 years ago
René Scharfe 717c3972da setenv(GIT_DIR) clean-up 15 years ago
Junio C Hamano 9517e6b843 Typofixes outside documentation area 15 years ago
Brad King 40c813e00c Handle relative paths in submodule .git files 15 years ago
Junio C Hamano b3100fd555 worktree: don't segfault with an absolute pathspec without a work tree 15 years ago
Matthieu Moy 009fee4774 Detailed diagnosis when parsing an object name fails. 15 years ago
Junio C Hamano c6e8c8005a check_filename(): make verify_filename() callable without dying 15 years ago
Frank Li 71064e3f86 Test for WIN32 instead of __MINGW32_ 16 years ago
Thomas Rast 0721c314a5 Use die_errno() instead of die() when checking syscalls 16 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Junio C Hamano 5a688fe470 "core.sharedrepository = 0mode" should set, not loosen 16 years ago
Johannes Sixt f3cad0ad82 Move sanitary_path_copy() to path.c and rename it to normalize_path_copy() 16 years ago
SZEDER Gábor 72183cb297 Fix gitdir detection when in subdir of gitdir 16 years ago
Richard Hartmann f66bc5f928 Always show which directory is not a git repository 16 years ago
Alex Riesen 7be77de266 Make chdir failures visible 16 years ago
Dmitry Potapov 62525ef78e make prefix_path() never return NULL 16 years ago
Nguyễn Thái Ngọc Duy bb528633b3 setup_git_directory(): fix move to worktree toplevel directory 17 years ago
Johannes Sixt 25fe217b86 Windows: Treat Windows style path names. 17 years ago
Johannes Sixt 4cd148d83f setup.c: Prepare for Windows directory separators. 17 years ago
Linus Torvalds 044bbbcb63 Make git_dir a path relative to work_tree in setup_work_tree() 17 years ago
David Reiss 450f437fb0 Eliminate an unnecessary chdir("..") 17 years ago
David Reiss 0454dd93bf Add support for GIT_CEILING_DIRECTORIES 17 years ago
Johannes Schindelin ef90d6d420 Provide git_config with a callback-data parameter 17 years ago
Heikki Orsila 06cbe85503 Make core.sharedRepository more generic 17 years ago
Lars Hjemli b44ebb19e3 Add platform-independent .git "symlink" 17 years ago
SZEDER Gábor af05d67939 Always set *nongit_ok in setup_git_directory_gently() 17 years ago
Junio C Hamano 3296766eb5 get_pathspec(): die when an out-of-tree path is given 17 years ago
Jim Meyering 8e0f70033b Avoid unnecessary "if-before-free" tests. 17 years ago
Johannes Sixt 9a13ba1bed prefix_path: use is_absolute_path() instead of *orig == '/' 17 years ago
Junio C Hamano 180483c5c9 setup.c: guard config parser from value=NULL 17 years ago
Junio C Hamano d089ebaad5 setup: sanitize absolute and funny paths in get_pathspec() 17 years ago
Jim Meyering 790296fd88 Fix grammar nits in documentation and in code comments. 17 years ago
Nguyễn Thái Ngọc Duy bb4e3527b5 Remove repo version check from setup_git_directory 17 years ago
Nguyễn Thái Ngọc Duy 9459aa77a0 Do check_repository_format() early (re-fix) 17 years ago