aboutsummaryrefslogtreecommitdiffstats
path: root/abspath.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-12abspath: move related functions to abspathCalvin Wan1-0/+36
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-1/+3
2023-03-06bundle: don't blindly apply prefix_filename() to "-"Junio C Hamano1-0/+7
2020-12-12abspath: add a function to resolve paths with missing componentsbrian m. carlson1-18/+46
2020-03-10real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy1-10/+0
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy1-7/+1
2017-09-27real_path: clarify return value ownershipHan-Wen Nienhuys1-0/+4
2017-06-27Spelling fixesVille Skyttä1-1/+1
2017-03-21prefix_filename: simplify windows #ifdefJeff King1-9/+6
2017-03-21prefix_filename: return newly allocated stringJeff King1-6/+4
2017-03-21prefix_filename: drop length parameterJeff King1-1/+3
2017-03-21prefix_filename: move docstring to header fileJeff King1-5/+0
2017-03-08real_pathdup(): fix callsites that wanted it to die on errorJohannes Schindelin1-2/+2
2017-02-02Merge branch 'rs/absolute-pathdup'Junio C Hamano1-0/+7
2017-01-26abspath: add absolute_pathdup()René Scharfe1-0/+7
2017-01-09real_path: set errno when max number of symlinks is exceededBrandon Williams1-0/+2
2017-01-09real_path: prevent redefinition of MAXSYMLINKSBrandon Williams1-1/+3
2016-12-22real_path: canonicalize directory separators in root partsJohannes Sixt1-12/+17
2016-12-12real_path: create real_pathdupBrandon Williams1-0/+13
2016-12-12real_path: convert real_path_internal to strbuf_realpathBrandon Williams1-28/+25
2016-12-12real_path: resolve symlinks by handBrandon Williams1-61/+129
2016-04-04Windows: shorten code by re-using convert_slashes()Johannes Sixt1-4/+1
2014-08-26abspath: convert absolute_path() to strbufRené Scharfe1-42/+4
2014-08-26abspath: convert real_path_internal() to strbufRené Scharfe1-44/+25
2014-08-26abspath: use strbuf_getcwd() to remember original working directoryRené Scharfe1-4/+5
2014-01-10Merge branch 'ap/path-max'Junio C Hamano1-7/+9
2013-12-16Prevent buffer overflows when path is too longAntoine Pelisse1-7/+9
2013-12-09abspath: trivial style fixFelipe Contreras1-1/+1
2013-10-16abspath.c: have SP around arithmetic operatorsJunio C Hamano1-2/+2
2013-05-08mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVEJonathan Nieder1-1/+1
2012-10-29Introduce new function real_path_if_valid()Michael Haggerty1-0/+5
2012-10-29real_path_internal(): add comment explaining use of cwdMichael Haggerty1-0/+7
2012-10-29Introduce new static function real_path_internal()Michael Haggerty1-21/+72
2012-09-06real_path(): properly handle nonexistent top-level pathsMichael Haggerty1-1/+1
2012-09-06real_path(): reject the empty stringMichael Haggerty1-0/+3
2012-09-06absolute_path(): reject the empty stringMichael Haggerty1-1/+3
2011-08-11Reduce parse-options.o dependenciesDmitry Ivankov1-0/+28
2011-07-22Merge branch 'js/maint-add-path-stat-pwd'Junio C Hamano1-1/+2
2011-07-11get_pwd_cwd(): Do not trust st_dev/st_ino blindlyJohannes Schindelin1-1/+2
2011-06-29Merge branch 'ef/maint-win-verify-path'Junio C Hamano1-2/+2
2011-05-27real_path: do not assume '/' is the path seperatorTheo Niessink1-2/+2
2011-03-17Name make_*_path functions more accuratelyCarlos Martín Nieto1-2/+16
2011-03-16make_absolute_path: return the input path if it points to our bufferCarlos Martín Nieto1-0/+4
2010-10-03Fix 'clone' failure at DOS root directory.Eric Sunshine1-1/+5
2010-02-14make_absolute_path(): Do not append redundant slashNguyễn Thái Ngọc Duy1-2/+3
2009-08-27abspath.c: move declaration of 'len' into inner block and use appropriate typeBrandon Casey1-3/+3
2009-06-27Use die_errno() instead of die() when checking syscallsThomas Rast1-6/+6
2008-12-17make_absolute_path(): check bounds when seeing an overlong symlinkJunio C Hamano1-0/+2
2008-09-09is_directory(): a generic helper functionJunio C Hamano1-1/+12
2008-07-25Allow add_path() to add non-existent directories to the pathJohannes Sixt1-0/+36
2008-06-27shrink git-shell by avoiding redundant dependenciesDmitry Potapov1-0/+68