63 Commits (112dd5146589ecb76d52bf349bd51dbe2936e936)

Author SHA1 Message Date
Matthieu Moy df2a79f422 expand_user_path: expand ~ to $HOME, not to the actual homedir. 15 years ago
Matthieu Moy 395de250d9 Expand ~ and ~user in core.excludesfile, commit.template 15 years ago
Shawn O. Pearce 34b6cb8bb0 http-backend: Protect GIT_PROJECT_ROOT from /../ requests 15 years ago
David Aguilar 003b33a8ad diff: generate pretty filenames in prep_temp_blob() 16 years ago
Junio C Hamano 17e61b8288 set_shared_perm(): sometimes we know what the final mode bits should look like 16 years ago
Junio C Hamano 5a688fe470 "core.sharedrepository = 0mode" should set, not loosen 16 years ago
Johannes Schindelin 4fcc86b07d Introduce the function strip_path_suffix() 16 years ago
Junio C Hamano 222b167386 Revert "validate_headref: tighten ref-matching to just branches" 16 years ago
Johannes Sixt f2a782b8ba Remove unused normalize_absolute_path() 16 years ago
Johannes Sixt f42302b493 Test and fix normalize_path_copy() 16 years ago
René Scharfe 43a7ddb55d Fix GIT_CEILING_DIRECTORIES on Windows 16 years ago
Johannes Sixt f3cad0ad82 Move sanitary_path_copy() to path.c and rename it to normalize_path_copy() 16 years ago
Jeff King b229d18a80 validate_headref: tighten ref-matching to just branches 16 years ago
Daniel Lowe 9db56f71b9 Fix non-literal format in printf-style calls 16 years ago
Jeff King 1442171bc9 fix overlapping memcpy in normalize_absolute_path 16 years ago
Alex Riesen aba13e7c05 git_pathdup: returns xstrdup-ed copy of the formatted path 16 years ago
Alex Riesen fe2d7776d5 Add git_snpath: a .git path formatting routine with output buffer 16 years ago
Alex Riesen 108bebeab3 Add mksnpath which allows you to specify the output buffer 16 years ago
Nguyễn Thái Ngọc Duy 2860b57a87 Fix typo in comments of longest_ancestor_length() 17 years ago
Johannes Sixt 10c4c881c4 Allow add_path() to add non-existent directories to the path 17 years ago
Petr Baudis 8c6202d869 Fix backwards-incompatible handling of core.sharedRepository 17 years ago
Dmitry Potapov 5b8e6f85f9 shrink git-shell by avoiding redundant dependencies 17 years ago
Linus Torvalds 044bbbcb63 Make git_dir a path relative to work_tree in setup_work_tree() 17 years ago
Johannes Sixt e048a49f96 make_nonrelative_path: Use is_absolute_path() 17 years ago
Daniel Barkalow 1b9a9467f8 Use nonrelative paths instead of absolute paths for cloned repositories 17 years ago
David Reiss 0454dd93bf Add support for GIT_CEILING_DIRECTORIES 17 years ago
David Reiss ae299be0e5 Implement normalize_absolute_path 17 years ago
Heikki Orsila 0104ca09e3 Make read_in_full() and write_in_full() consistent with xread() and xwrite() 17 years ago
Heikki Orsila 06cbe85503 Make core.sharedRepository more generic 17 years ago
Alex Riesen 81a24b52c1 Do not use GUID on dir in git init --shared=all on FreeBSD 17 years ago
Johannes Schindelin e371a4c648 Fix make_absolute_path() for parameters without a slash 17 years ago
Johannes Schindelin e5392c5146 Add is_absolute_path() and make_absolute_path() 18 years ago
Junio C Hamano e7a7be8831 git_mkstemp(): be careful not to overflow the path buffer. 18 years ago
Matthias Lederhofer 7627943a1b getenv/setenv: use constants if available 18 years ago
Shawn O. Pearce 3a55602eec General const correctness fixes 18 years ago
Andy Whitcroft 93d26e4cb9 short i/o: fix calls to read to use xread or read_in_full 18 years ago
Junio C Hamano c847f53712 Detached HEAD (experimental) 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Junio C Hamano fe732edee1 adjust_shared_perm: chmod() only when needed. 18 years ago
Linus Torvalds e7676d2f64 Allow multiple "git_path()" uses 19 years ago
Peter Eriksen 817151e61a Rename safe_strncpy() to strlcpy(). 19 years ago
Peter Eriksen bfbd0bb6ec Implement safe_strncpy() as strlcpy() and use it more. 19 years ago
Junio C Hamano 94df2506ed shared repository: optionally allow reading to "others". 19 years ago
Junio C Hamano 138086a725 shared repository - add a few missing calls to adjust_shared_perm(). 19 years ago
Junio C Hamano d79374c7b5 [PATCH] daemon.c and path.enter_repo(): revamp path validation. 19 years ago
Junio C Hamano 1644162ad5 Check repository format version in enter_repo(). 19 years ago
Junio C Hamano e0a87193d3 Fix "do not DWIM" patch to enter_repo" 19 years ago
Timo Hirvonen bd22c904a0 Fix sparse warnings 19 years ago
Junio C Hamano 0870ca7fab Do not DWIM in userpath library under strict mode. 19 years ago
Andreas Ericsson 54f4b87454 Library code for user-relative paths, take three. 19 years ago