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