summaryrefslogtreecommitdiff
path: root/abspath.c
AgeCommit message (Expand)AuthorFilesLines
2020-03-10real_path_if_valid(): remove unsafe APILibravatar Alexandr Miloslavskiy1-10/+0
2020-03-10real_path: remove unsafe APILibravatar Alexandr Miloslavskiy1-7/+1
2017-09-27real_path: clarify return value ownershipLibravatar Han-Wen Nienhuys1-0/+4
2017-06-27Spelling fixesLibravatar Ville Skyttä1-1/+1
2017-03-21prefix_filename: simplify windows #ifdefLibravatar Jeff King1-9/+6
2017-03-21prefix_filename: return newly allocated stringLibravatar Jeff King1-6/+4
2017-03-21prefix_filename: drop length parameterLibravatar Jeff King1-1/+3
2017-03-21prefix_filename: move docstring to header fileLibravatar Jeff King1-5/+0
2017-03-08real_pathdup(): fix callsites that wanted it to die on errorLibravatar Johannes Schindelin1-2/+2
2017-02-02Merge branch 'rs/absolute-pathdup'Libravatar Junio C Hamano1-0/+7
2017-01-26abspath: add absolute_pathdup()Libravatar René Scharfe1-0/+7
2017-01-09real_path: set errno when max number of symlinks is exceededLibravatar Brandon Williams1-0/+2
2017-01-09real_path: prevent redefinition of MAXSYMLINKSLibravatar Brandon Williams1-1/+3
2016-12-22real_path: canonicalize directory separators in root partsLibravatar Johannes Sixt1-12/+17
2016-12-12real_path: create real_pathdupLibravatar Brandon Williams1-0/+13
2016-12-12real_path: convert real_path_internal to strbuf_realpathLibravatar Brandon Williams1-28/+25
2016-12-12real_path: resolve symlinks by handLibravatar Brandon Williams1-61/+129
2016-04-04Windows: shorten code by re-using convert_slashes()Libravatar Johannes Sixt1-4/+1
2014-08-26abspath: convert absolute_path() to strbufLibravatar René Scharfe1-42/+4
2014-08-26abspath: convert real_path_internal() to strbufLibravatar René Scharfe1-44/+25
2014-08-26abspath: use strbuf_getcwd() to remember original working directoryLibravatar René Scharfe1-4/+5
2014-01-10Merge branch 'ap/path-max'Libravatar Junio C Hamano1-7/+9
2013-12-16Prevent buffer overflows when path is too longLibravatar Antoine Pelisse1-7/+9
2013-12-09abspath: trivial style fixLibravatar Felipe Contreras1-1/+1
2013-10-16abspath.c: have SP around arithmetic operatorsLibravatar Junio C Hamano1-2/+2
2013-05-08mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVELibravatar Jonathan Nieder1-1/+1
2012-10-29Introduce new function real_path_if_valid()Libravatar Michael Haggerty1-0/+5
2012-10-29real_path_internal(): add comment explaining use of cwdLibravatar Michael Haggerty1-0/+7
2012-10-29Introduce new static function real_path_internal()Libravatar Michael Haggerty1-21/+72
2012-09-06real_path(): properly handle nonexistent top-level pathsLibravatar Michael Haggerty1-1/+1
2012-09-06real_path(): reject the empty stringLibravatar Michael Haggerty1-0/+3
2012-09-06absolute_path(): reject the empty stringLibravatar Michael Haggerty1-1/+3
2011-08-11Reduce parse-options.o dependenciesLibravatar Dmitry Ivankov1-0/+28
2011-07-22Merge branch 'js/maint-add-path-stat-pwd'Libravatar Junio C Hamano1-1/+2
2011-07-11get_pwd_cwd(): Do not trust st_dev/st_ino blindlyLibravatar Johannes Schindelin1-1/+2
2011-06-29Merge branch 'ef/maint-win-verify-path'Libravatar Junio C Hamano1-2/+2
2011-05-27real_path: do not assume '/' is the path seperatorLibravatar Theo Niessink1-2/+2
2011-03-17Name make_*_path functions more accuratelyLibravatar Carlos Martín Nieto1-2/+16
2011-03-16make_absolute_path: return the input path if it points to our bufferLibravatar Carlos Martín Nieto1-0/+4
2010-10-03Fix 'clone' failure at DOS root directory.Libravatar Eric Sunshine1-1/+5
2010-02-14make_absolute_path(): Do not append redundant slashLibravatar Nguyễn Thái Ngọc Duy1-2/+3
2009-08-27abspath.c: move declaration of 'len' into inner block and use appropriate typeLibravatar Brandon Casey1-3/+3
2009-06-27Use die_errno() instead of die() when checking syscallsLibravatar Thomas Rast1-6/+6
2008-12-17make_absolute_path(): check bounds when seeing an overlong symlinkLibravatar Junio C Hamano1-0/+2
2008-09-09is_directory(): a generic helper functionLibravatar Junio C Hamano1-1/+12
2008-07-25Allow add_path() to add non-existent directories to the pathLibravatar Johannes Sixt1-0/+36
2008-06-27shrink git-shell by avoiding redundant dependenciesLibravatar Dmitry Potapov1-0/+68