summaryrefslogtreecommitdiff
path: root/abspath.c
Commit message (Expand)AuthorAgeFilesLines
* abspath: add a function to resolve paths with missing componentsbrian m. carlson2020-12-121-18/+46
* real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy2020-03-101-10/+0
* real_path: remove unsafe APIAlexandr Miloslavskiy2020-03-101-7/+1
* real_path: clarify return value ownershipHan-Wen Nienhuys2017-09-271-0/+4
* Spelling fixesvs/typofixesVille Skyttä2017-06-271-1/+1
* prefix_filename: simplify windows #ifdefJeff King2017-03-211-9/+6
* prefix_filename: return newly allocated stringJeff King2017-03-211-6/+4
* prefix_filename: drop length parameterJeff King2017-03-211-1/+3
* prefix_filename: move docstring to header fileJeff King2017-03-211-5/+0
* real_pathdup(): fix callsites that wanted it to die on errorjs/realpath-pathdup-fixJohannes Schindelin2017-03-081-2/+2
* Merge branch 'rs/absolute-pathdup'Junio C Hamano2017-02-021-0/+7
|\
| * abspath: add absolute_pathdup()René Scharfe2017-01-261-0/+7
* | real_path: set errno when max number of symlinks is exceededbw/realpath-wo-chdirBrandon Williams2017-01-091-0/+2
* | real_path: prevent redefinition of MAXSYMLINKSBrandon Williams2017-01-091-1/+3
* | real_path: canonicalize directory separators in root partsJohannes Sixt2016-12-221-12/+17
* | real_path: create real_pathdupBrandon Williams2016-12-121-0/+13
* | real_path: convert real_path_internal to strbuf_realpathBrandon Williams2016-12-121-28/+25
* | real_path: resolve symlinks by handBrandon Williams2016-12-121-61/+129
|/
* Windows: shorten code by re-using convert_slashes()js/mingw-tests-2.8Johannes Sixt2016-04-041-4/+1
* abspath: convert absolute_path() to strbufRené Scharfe2014-08-261-42/+4
* abspath: convert real_path_internal() to strbufRené Scharfe2014-08-261-44/+25
* abspath: use strbuf_getcwd() to remember original working directoryRené Scharfe2014-08-261-4/+5
* Merge branch 'ap/path-max'Junio C Hamano2014-01-101-7/+9
|\
| * Prevent buffer overflows when path is too longap/path-maxAntoine Pelisse2013-12-161-7/+9
* | abspath: trivial style fixFelipe Contreras2013-12-091-1/+1
|/
* abspath.c: have SP around arithmetic operatorsJunio C Hamano2013-10-161-2/+2
* mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVEJonathan Nieder2013-05-081-1/+1
* Introduce new function real_path_if_valid()Michael Haggerty2012-10-291-0/+5
* real_path_internal(): add comment explaining use of cwdMichael Haggerty2012-10-291-0/+7
* Introduce new static function real_path_internal()Michael Haggerty2012-10-291-21/+72
* real_path(): properly handle nonexistent top-level pathsMichael Haggerty2012-09-061-1/+1
* real_path(): reject the empty stringMichael Haggerty2012-09-061-0/+3
* absolute_path(): reject the empty stringMichael Haggerty2012-09-061-1/+3
* Reduce parse-options.o dependenciesDmitry Ivankov2011-08-111-0/+28
* Merge branch 'js/maint-add-path-stat-pwd'Junio C Hamano2011-07-221-1/+2
|\
| * get_pwd_cwd(): Do not trust st_dev/st_ino blindlyJohannes Schindelin2011-07-111-1/+2
* | Merge branch 'ef/maint-win-verify-path'Junio C Hamano2011-06-291-2/+2
|\ \
| * | real_path: do not assume '/' is the path seperatorTheo Niessink2011-05-271-2/+2
* | | Name make_*_path functions more accuratelyCarlos Martín Nieto2011-03-171-2/+16
|/ /
* | make_absolute_path: return the input path if it points to our bufferCarlos Martín Nieto2011-03-161-0/+4
* | Fix 'clone' failure at DOS root directory.Eric Sunshine2010-10-031-1/+5
* | make_absolute_path(): Do not append redundant slashNguyễn Thái Ngọc Duy2010-02-141-2/+3
* | abspath.c: move declaration of 'len' into inner block and use appropriate typeBrandon Casey2009-08-271-3/+3
* | Use die_errno() instead of die() when checking syscallsThomas Rast2009-06-271-6/+6
* | make_absolute_path(): check bounds when seeing an overlong symlinkJunio C Hamano2008-12-171-0/+2
* | is_directory(): a generic helper functionJunio C Hamano2008-09-091-1/+12
|/
* Allow add_path() to add non-existent directories to the pathJohannes Sixt2008-07-251-0/+36
* shrink git-shell by avoiding redundant dependenciesDmitry Potapov2008-06-271-0/+68