30 Commits (1a5fccc0c26b4a8abafd85a73558022e65f6f8cf)

Author SHA1 Message Date
Johannes Sixt 8e9b20804a Windows: shorten code by re-using convert_slashes() 9 years ago
René Scharfe 679eebe24d abspath: convert absolute_path() to strbuf 11 years ago
René Scharfe 2fdb9ce067 abspath: convert real_path_internal() to strbuf 11 years ago
René Scharfe 251277acdf abspath: use strbuf_getcwd() to remember original working directory 11 years ago
Antoine Pelisse fc2b621454 Prevent buffer overflows when path is too long 11 years ago
Felipe Contreras e46c92e4ef abspath: trivial style fix 11 years ago
Junio C Hamano f1e835fa13 abspath.c: have SP around arithmetic operators 11 years ago
Jonathan Nieder 380395d094 mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVE 12 years ago
Michael Haggerty e3e46cdbd4 Introduce new function real_path_if_valid() 12 years ago
Michael Haggerty d6052abca3 real_path_internal(): add comment explaining use of cwd 12 years ago
Michael Haggerty 038e55fec2 Introduce new static function real_path_internal() 12 years ago
Michael Haggerty f4c21e89d7 real_path(): properly handle nonexistent top-level paths 13 years ago
Michael Haggerty 3efe5d1d32 real_path(): reject the empty string 13 years ago
Michael Haggerty a0601dc11f absolute_path(): reject the empty string 13 years ago
Dmitry Ivankov 0687628466 Reduce parse-options.o dependencies 14 years ago
Johannes Schindelin 7d092adc8f get_pwd_cwd(): Do not trust st_dev/st_ino blindly 14 years ago
Theo Niessink d1c69255a1 real_path: do not assume '/' is the path seperator 14 years ago
Carlos Martín Nieto e2a57aac8a Name make_*_path functions more accurately 14 years ago
Carlos Martín Nieto 1d679de58e make_absolute_path: return the input path if it points to our buffer 14 years ago
Eric Sunshine b248e95096 Fix 'clone' failure at DOS root directory. 14 years ago
Nguyễn Thái Ngọc Duy ed0cb46ebb make_absolute_path(): Do not append redundant slash 15 years ago
Brandon Casey 1630726e84 abspath.c: move declaration of 'len' into inner block and use appropriate type 16 years ago
Thomas Rast 0721c314a5 Use die_errno() instead of die() when checking syscalls 16 years ago
Junio C Hamano 737e31af7a make_absolute_path(): check bounds when seeing an overlong symlink 16 years ago
Junio C Hamano 90b4a71c49 is_directory(): a generic helper function 17 years ago
Johannes Sixt 10c4c881c4 Allow add_path() to add non-existent directories to the path 17 years ago
Dmitry Potapov 5b8e6f85f9 shrink git-shell by avoiding redundant dependencies 17 years ago