81 Commits (69fb8283937a18a031aeef12ea2a530c8ccf3e83)

Author SHA1 Message Date
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
Nguyễn Thái Ngọc Duy 138dd1e990 Do check_repository_format() early 17 years ago
Steffen Prohaska ecf4831d89 Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c 17 years ago
Johannes Schindelin 354e6534c1 builtin-blame: set up the work_tree before the first file access 17 years ago
Junio C Hamano f3fa183802 Style: place opening brace of a function definition at column 1 17 years ago
Mike Hommey 59f0f2f33a Refactor working tree setup 17 years ago
Nguyễn Thái Ngọc Duy 1e8a195451 Add missing inside_work_tree setting in setup_git_directory_gently 17 years ago
Johannes Schindelin dd5c8af176 Fix setup_git_directory_gently() with relative GIT_DIR & GIT_WORK_TREE 17 years ago
Johannes Schindelin 7efeb8f098 Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unset 18 years ago
Junio C Hamano 33a798c880 setup.c:verify_non_filename(): don't die unnecessarily while disambiguating 18 years ago
Junio C Hamano 6490a3383f Fix work-tree related breakages 18 years ago
Johannes Schindelin e90fdc39b6 Clean up work-tree handling 18 years ago
Johannes Schindelin 299726d538 white space fixes in setup.c 18 years ago
Johannes Schindelin 835252272e Fix core.sharedRepository = 2 18 years ago
Junio C Hamano f66a4d68d2 Do not check if getcwd() result begins with a slash. 18 years ago
Junio C Hamano a6080a0a44 War on whitespace 18 years ago
Matthias Lederhofer f4f51add27 setup_git_directory: fix segfault if repository is found in cwd 18 years ago
Matthias Lederhofer 7ae3df8c0a Use new semantics of is_bare/inside_git_dir/inside_work_tree 18 years ago
Matthias Lederhofer 892c41b98a introduce GIT_WORK_TREE to specify the work tree 18 years ago
Matthias Lederhofer 96a5702409 setup_git_directory_gently: fix off-by-one error 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Johannes Schindelin 68025633e3 Do not verify filenames in a bare repository 18 years ago
Junio C Hamano c847f53712 Detached HEAD (experimental) 18 years ago
Shawn O. Pearce ad1a382fbb Automatically detect a bare git repository. 18 years ago
Shawn Pearce 6fb75bed5c Move deny_non_fast_forwards handling completely into receive-pack. 18 years ago