summaryrefslogtreecommitdiff
path: root/contrib/git-jump/README
diff options
context:
space:
mode:
authorLibravatar David Michael <fedora.dm0@gmail.com>2014-12-03 21:24:17 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-04 11:58:36 -0800
commitd543d9c0f44a89f30ec1670f16c698b5da801476 (patch)
treea4b23afa1f7297104e9a56ff13c78f467d668eb9 /contrib/git-jump/README
parentMerge branch 'nd/gitignore-trailing-whitespace' into maint (diff)
downloadtgif-d543d9c0f44a89f30ec1670f16c698b5da801476.tar.xz
compat: convert modes to use portable file type values
This adds simple wrapper functions around calls to stat(), fstat(), and lstat() that translate the operating system's native file type bits to those used by most operating systems. It also rewrites the S_IF* macros to the common values, so all file type processing is performed using the translated modes. This makes projects portable across operating systems that use different file type definitions. Only the file type bits may be affected by these compatibility functions; the file permission bits are assumed to be 07777 and are passed through unchanged. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/git-jump/README')
0 files changed, 0 insertions, 0 deletions