aboutsummaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
AgeCommit message (Expand)AuthorFilesLines
2022-06-17Merge branch 'cb/path-owner-check-with-sudo-plus'Junio C Hamano1-1/+6
2022-06-17git-compat-util: allow root to access both SUDO_UID and root ownedCarlo Marcelo Arenas Belón1-1/+6
2022-06-10Merge branch 'ab/bug-if-bug'Junio C Hamano1-2/+12
2022-06-03Merge branch 'ds/bundle-uri'Junio C Hamano1-1/+7
2022-06-03Merge branch 'ns/batch-fsync'Junio C Hamano1-0/+2
2022-06-02usage.c: add a non-fatal bug() function to go with BUG()Ævar Arnfjörð Bjarmason1-0/+10
2022-06-02common-main.c: move non-trace2 exit() behavior out of trace2.cÆvar Arnfjörð Bjarmason1-2/+2
2022-05-26Merge branch 'cb/path-owner-check-with-sudo'Junio C Hamano1-1/+52
2022-05-16dir API: add a generalized path_match_flags() functionÆvar Arnfjörð Bjarmason1-1/+7
2022-05-12git-compat-util: avoid failing dir ownership checks if running privilegedCarlo Marcelo Arenas Belón1-1/+52
2022-04-11Merge tag 'v2.35.2'Junio C Hamano1-0/+12
2022-04-06Merge branch 'bc/csprng-mktemps'Junio C Hamano1-0/+4
2022-04-06core.fsync: use batch mode and sync loose objects by default on WindowsNeeraj Singh1-0/+2
2022-04-06Merge branch 'ns/core-fsyncmethod' into ns/batch-fsyncJunio C Hamano1-6/+24
2022-04-06git-compat-util: really support openssl as a source of entropyCarlo Marcelo Arenas Belón1-0/+4
2022-03-30trace2: add stats for fsync operationsNeeraj Singh1-0/+5
2022-03-25Merge branch 'ns/core-fsyncmethod'Junio C Hamano1-6/+24
2022-03-24Sync with 2.34.2Johannes Schindelin1-0/+12
2022-03-24Sync with 2.33.2Johannes Schindelin1-1/+15
2022-03-24Sync with 2.32.1Johannes Schindelin1-1/+15
2022-03-24Sync with 2.31.2Johannes Schindelin1-1/+15
2022-03-24Sync with 2.30.3Johannes Schindelin1-1/+15
2022-03-21Add a function to determine whether a path is owned by the current userJohannes Schindelin1-0/+12
2022-03-17mingw: avoid fallback for {local,gm}time_r()Carlo Marcelo Arenas Belón1-1/+3
2022-03-10core.fsyncmethod: add writeout-only modeNeeraj Singh1-0/+24
2022-03-10wrapper: make inclusion of Windows csprng header tightly scopedNeeraj Singh1-6/+0
2022-02-21C99: remove hardcoded-out !HAVE_VARIADIC_MACROS codeÆvar Arnfjörð Bjarmason1-12/+0
2022-02-21git-compat-util.h: clarify GCC v.s. C99-specific in commentÆvar Arnfjörð Bjarmason1-3/+1
2022-02-16Merge branch 'ab/auto-detect-zlib-compress2'Junio C Hamano1-0/+12
2022-02-11Merge branch 'bc/csprng-mktemps'Junio C Hamano1-0/+19
2022-01-26compat: auto-detect if zlib has uncompress2()Ævar Arnfjörð Bjarmason1-0/+12
2022-01-17wrapper: add a helper to generate numbers from a CSPRNGbrian m. carlson1-0/+19
2022-01-10Merge branch 'ab/usage-die-message'Junio C Hamano1-1/+3
2022-01-05Merge branch 'jc/flex-array-definition'Junio C Hamano1-2/+11
2021-12-10Merge branch 'cb/mingw-gmtime-r'Junio C Hamano1-1/+3
2021-12-10Merge branch 'bc/require-c99'Junio C Hamano1-0/+13
2021-12-08flex-array: simplify compiler-specific workaroundJunio C Hamano1-2/+11
2021-12-07config API: use get_error_routine(), not vreportf()Ævar Arnfjörð Bjarmason1-1/+0
2021-12-07usage.c + gc: add and use a die_message_errno()Ævar Arnfjörð Bjarmason1-0/+1
2021-12-07usage.c: add a die_message() routineÆvar Arnfjörð Bjarmason1-0/+2
2021-12-01git-compat-util: add a test balloon for C99 supportbrian m. carlson1-0/+13
2021-11-29Merge branch 'mc/clean-smudge-with-llp64'Junio C Hamano1-0/+25
2021-11-29Merge branch 'jc/unsetenv-returns-an-int'Junio C Hamano1-1/+1
2021-11-27mingw: avoid fallback for {local,gm}time_r()Carlo Marcelo Arenas Belón1-1/+3
2021-11-03git-compat-util: introduce more size_t helpersJohannes Schindelin1-0/+25
2021-10-29unsetenv(3) returns int, not voidJunio C Hamano1-1/+1
2021-10-29wrapper: remove xunsetenv()Carlo Marcelo Arenas Belón1-1/+0
2021-10-06Merge branch 'ab/repo-settings-cleanup'Junio C Hamano1-0/+2
2021-09-23Merge branch 'cb/unix-sockets-with-windows'Junio C Hamano1-0/+3
2021-09-22wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.cÆvar Arnfjörð Bjarmason1-0/+2
2021-09-14git-compat-util: include declaration for unix sockets in windowsCarlo Marcelo Arenas Belón1-0/+3
2021-09-03gettext: remove optional non-standard parens in N_() definitionÆvar Arnfjörð Bjarmason1-4/+0
2021-07-16Merge branch 'ew/mmap-failures'Junio C Hamano1-0/+1
2021-07-08Merge branch 'ar/typofix'Junio C Hamano1-1/+1
2021-06-29xmmap: inform Linux users of tuning knobs on ENOMEMEric Wong1-0/+1
2021-06-14*: fix typos which duplicate a wordAndrei Rybak1-1/+1
2021-06-10Merge branch 'jn/size-t-casted-to-off-t-fix'Junio C Hamano1-4/+2
2021-05-19xsize_t: avoid implementation defined behavior when len < 0Jonathan Nieder1-4/+2
2021-04-13Merge branch 'tb/precompose-prefix-simplify'Junio C Hamano1-0/+5
2021-04-05precompose_utf8: make precompose_string_if_needed() publicTorsten Bögershausen1-0/+5
2021-03-22Merge branch 'jk/open-dotgitx-with-nofollow'Junio C Hamano1-0/+7
2021-03-13git-compat-util.h: drop trailing semicolon from macro definitionRené Scharfe1-1/+1
2021-03-08Sync with Git 2.30.2 for CVE-2021-21300Junio C Hamano1-0/+5
2021-03-04Merge branch 'jk/open-returns-eintr'Junio C Hamano1-0/+6
2021-02-26Makefile: add OPEN_RETURNS_EINTR knobJeff King1-0/+6
2021-02-16add open_nofollow() helperJeff King1-0/+7
2021-02-12Merge branch 'tb/precompose-prefix-too'Junio C Hamano1-2/+2
2021-02-12Sync with 2.29.3Johannes Schindelin1-0/+5
2021-02-12Sync with 2.28.1Johannes Schindelin1-0/+5
2021-02-12Sync with 2.27.1Johannes Schindelin1-0/+5
2021-02-12Sync with 2.26.3Johannes Schindelin1-0/+5
2021-02-12Sync with 2.24.4Johannes Schindelin1-0/+5
2021-02-12Sync with 2.23.4Johannes Schindelin1-0/+5
2021-02-12Sync with 2.22.5Johannes Schindelin1-0/+5
2021-02-12Sync with 2.21.4Johannes Schindelin1-0/+5
2021-02-12Sync with 2.20.5Johannes Schindelin1-0/+5
2021-02-12Sync with 2.19.6Johannes Schindelin1-0/+5
2021-02-12Sync with 2.18.5Johannes Schindelin1-0/+5
2021-02-12Sync with 2.17.6Johannes Schindelin1-0/+5
2021-02-12checkout: fix bug that makes checkout follow symlinks in leading pathMatheus Tavares1-0/+5
2021-02-03MacOS: precompose_argv_prefix()Torsten Bögershausen1-2/+2
2021-01-27git-compat-util: always enable variadic macrosJeff King1-2/+5
2020-12-18Merge branch 'jc/compat-util-setitimer-fix'Junio C Hamano1-1/+1
2020-12-15compat-util: pretend that stub setitimer() always succeedsJunio C Hamano1-1/+1
2020-11-30Merge branch 'hn/sleep-millisec-decl'Junio C Hamano1-0/+2
2020-11-24move sleep_millisec to git-compat-util.hHan-Wen Nienhuys1-0/+2
2020-11-02Merge branch 'jk/report-fn-typedef'Junio C Hamano1-5/+7
2020-10-16usage: define a type for a reporting functionJeff King1-5/+7
2020-08-06compat-util: type-check parameters of no-op replacement functionsJunio C Hamano1-5/+15
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-0/+6
2020-05-27wrapper: add function to compare strings with different NUL terminationbrian m. carlson1-0/+6
2020-05-20Merge branch 'cb/no-more-gmtime'Junio C Hamano1-7/+0
2020-05-14compat: remove gmtimeCarlo Marcelo Arenas Belón1-7/+0
2020-03-27run-command: trigger PATH lookup properly on CygwinAndras Kucsma1-0/+8
2019-12-09Sync with Git 2.24.1Junio C Hamano1-0/+4
2019-12-06Sync with 2.23.1Johannes Schindelin1-0/+4
2019-12-06Sync with 2.22.2Johannes Schindelin1-0/+4
2019-12-06Sync with 2.21.1Johannes Schindelin1-0/+4
2019-12-06Sync with 2.20.2Johannes Schindelin1-0/+4
2019-12-06Sync with 2.19.3Johannes Schindelin1-0/+4
2019-12-06Sync with 2.18.2Johannes Schindelin1-0/+4
2019-12-06Sync with 2.17.3Johannes Schindelin1-0/+4
2019-12-06Sync with 2.16.6Johannes Schindelin1-0/+4
2019-12-06Sync with 2.15.4Johannes Schindelin1-0/+4
2019-12-06Sync with 2.14.6Johannes Schindelin1-0/+4
2019-12-05mingw: refuse to access paths with trailing spaces or periodsJohannes Schindelin1-0/+4
2019-11-25git-compat-util.h: drop the `PRIuMAX` and other fallback definitionsHariom Verma1-20/+0
2019-10-18Merge branch 'bb/compat-util-comment-fix'Junio C Hamano1-1/+1
2019-10-15Merge branch 'ew/hashmap'Junio C Hamano1-0/+38
2019-10-12git-compat-util: fix documentation syntaxBeat Bolli1-1/+1
2019-10-09Merge branch 'js/diff-rename-force-stable-sort'Junio C Hamano1-3/+6
2019-10-09Merge branch 'sg/name-rev-cutoff-underflow-fix'Junio C Hamano1-0/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-0/+13
2019-10-07hashmap: use *_entry APIs to wrap container_ofEric Wong1-0/+15
2019-10-07introduce container_of macroEric Wong1-0/+10
2019-10-02Move git_sort(), a stable sort, into into libgit.aJohannes Schindelin1-3/+6
2019-09-28name-rev: avoid cutoff timestamp underflowSZEDER Gábor1-0/+1
2019-08-13packfile: drop release_pack_memory()Jeff King1-3/+0
2019-06-25msvc: add a compile-time flag to allow detailed heap debuggingJeff Hostetler1-0/+9
2019-05-13Merge branch 'cc/access-on-aix-workaround'Junio C Hamano1-1/+11
2019-05-13Merge branch 'dl/no-extern-in-func-decl'Junio C Hamano1-66/+66
2019-05-09Merge branch 'ss/msvc-path-utils-fix'Junio C Hamano1-0/+1
2019-05-05*.[ch]: manually align parameter listsDenton Liu1-2/+2
2019-05-05*.[ch]: remove extern from function declarations using sedDenton Liu1-10/+10
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-54/+54
2019-04-25git-compat-util: work around for access(X_OK) under rootClément Chigot1-1/+11
2019-04-09MSVC: include compat/win32/path-utils.h for MSVC, too, for real_path()Sven Strickroth1-0/+1
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+7
2019-02-13Merge branch 'nd/fileno-may-be-macro'Junio C Hamano1-0/+8
2019-02-12git-compat-util: work around fileno(fp) that is a macroDuy Nguyen1-0/+8
2019-01-18Merge branch 'rb/hpe'Junio C Hamano1-0/+13
2019-01-14Merge branch 'nd/indentation-fix'Junio C Hamano1-1/+1
2019-01-14Merge branch 'tb/use-common-win32-pathfuncs-on-cygwin'Junio C Hamano1-1/+2
2019-01-03git-compat-util.h: add FLOSS headers for HPE NonStopRandall S. Becker1-0/+13
2018-12-26git clone <url> C:\cygwin\home\USER\repo' is working (again)Torsten Bögershausen1-1/+2
2018-12-09Indent code with TABsNguyễn Thái Ngọc Duy1-1/+1
2018-11-21Merge branch 'cc/delta-islands'Junio C Hamano1-0/+1
2018-11-21pack-objects: zero-initialize tree_depth/layer arraysJeff King1-0/+1
2018-11-14git-compat-util: prefer poll.h to sys/poll.hĐoàn Trần Công Danh1-1/+4
2018-10-31config: allow for platform-specific core.* config settingsJohannes Schindelin1-0/+8
2018-10-30Merge branch 'cb/khash-maybe-unused-function'Junio C Hamano1-0/+2
2018-10-26Merge branch 'js/mingw-default-ident'Junio C Hamano1-0/+4
2018-10-24commit-slabs: move MAYBE_UNUSED outCarlo Marcelo Arenas Belón1-0/+2
2018-10-16mingw: use domain information for default emailJohannes Schindelin1-0/+4
2018-10-04mingw: bump the minimum Windows version to VistaJohannes Schindelin1-1/+1
2018-10-04mingw: set _WIN32_WINNT explicitly for Git for WindowsJohannes Schindelin1-1/+1
2018-08-20Merge branch 'js/typofixes'Junio C Hamano1-1/+1
2018-08-08git-compat-util.h: fix typoJohannes Schindelin1-1/+1
2018-07-26automatically ban strcpy()Jeff King1-0/+6
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+4
2018-05-29Sync with Git 2.17.1Junio C Hamano1-0/+17
2018-05-23Merge branch 'nd/repack-keep-pack'Junio C Hamano1-0/+4
2018-05-22Sync with Git 2.16.4Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.15.2Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.14.4Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.13.7Junio C Hamano1-0/+17
2018-05-21skip_prefix: add case-insensitive variantJeff King1-0/+17
2018-05-10BUG_exit_code: fix sparse "symbol not declared" warningRamsay Jones1-0/+3
2018-05-08Merge branch 'ls/checkout-encoding'Junio C Hamano1-0/+1
2018-05-06Convert remaining die*(BUG) messagesJohannes Schindelin1-1/+1
2018-04-16gc --auto: exclude base pack if not enough mem to "repack -ad"Nguyễn Thái Ngọc Duy1-0/+4
2018-03-09strbuf: add a case insensitive starts_with()Lars Schneider1-0/+1
2018-02-22wrapper: rename 'template' variablesBrandon Williams1-2/+2
2017-12-11git-compat-util: introduce skip_to_optional_arg()Christian Couder1-0/+23
2017-09-29Merge branch 'rj/no-sign-compare'Junio C Hamano1-2/+4
2017-09-22git-compat-util.h: xsize_t() - avoid -Wsign-compare warningsRamsay Jones1-2/+4
2017-09-20git-compat-util: make UNLEAK less error-proneJonathan Tan1-2/+2
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King1-0/+20
2017-08-23pack: move release_pack_memory()Jonathan Tan1-2/+0
2017-08-23Merge branch 'rs/move-array' into maintJunio C Hamano1-0/+8
2017-08-11Merge branch 'rs/move-array'Junio C Hamano1-0/+8
2017-07-18Merge branch 'tb/push-to-cygwin-unc-path'Junio C Hamano1-0/+3
2017-07-17add MOVE_ARRAYRené Scharfe1-0/+8
2017-07-05cygwin: allow pushing to UNC pathsTorsten Bögershausen1-0/+3
2017-06-15git-compat-util: add a FREE_AND_NULL() wrapper around free(ptr); ptr = NULLÆvar Arnfjörð Bjarmason1-0/+6
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-6/+9
2017-06-13Merge branch 'jc/noent-notdir'Junio C Hamano1-0/+15
2017-06-13Merge branch 'bw/forking-and-threading' into maintJunio C Hamano1-1/+0
2017-05-30Merge branch 'bw/forking-and-threading'Junio C Hamano1-1/+0
2017-05-30compat-util: is_missing_file_error()Junio C Hamano1-0/+15
2017-05-29Merge branch 'jk/bug-to-abort'Junio C Hamano1-0/+9
2017-05-26wrapper.c: make warn_on_inaccessible() staticNguyễn Thái Ngọc Duy1-2/+0
2017-05-26wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy1-0/+1
2017-05-26wrapper.c: add and use warn_on_fopen_errors()Nguyễn Thái Ngọc Duy1-0/+2
2017-05-26git_fopen: fix a sparse 'not declared' warningRamsay Jones1-4/+6
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano1-0/+5
2017-05-16Merge branch 'dt/raise-core-packed-git-limit'Junio C Hamano1-1/+1
2017-05-15usage.c: drop set_error_handle()Jeff King1-1/+0
2017-05-15usage.c: add BUG() functionJeff King1-0/+9
2017-04-27use uintmax_t for timestampsJohannes Schindelin1-4/+4
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-0/+2
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano1-0/+6
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-0/+1
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-0/+2
2017-04-20Increase core.packedGitLimitDavid Turner1-1/+1
2017-04-18xgethostname: handle long hostnamesDavid Turner1-0/+2
2017-04-18use HOST_NAME_MAX to size buffers for gethostname(2)René Scharfe1-0/+4
2017-03-28Merge branch 'jk/pack-name-cleanups' into maintJunio C Hamano1-2/+0
2017-03-21Merge branch 'jk/pack-name-cleanups'Junio C Hamano1-2/+0
2017-03-16move odb_* declarations out of git-compat-util.hJeff King1-2/+0