aboutsummaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge branch 'rs/no-openssl-compilation-fix-on-macos'Junio C Hamano1-0/+1
14 daysgit-compat-util: fix NO_OPENSSL on current macOSRené Scharfe1-0/+1
2024-04-03Win32: detect unix socket support at runtimeMatthias Aßhauer1-0/+12
2024-01-12Merge branch 'tb/multi-pack-verbatim-reuse'Junio C Hamano1-0/+9
2023-12-18git-compat-util: convert skip_{prefix,suffix}{,_mem} to boolRené Scharfe1-20/+22
2023-12-14git-compat-util.h: implement checked size_t to uint32_t conversionTaylor Blau1-0/+9
2023-08-24Merge branch 'mp/rebase-label-length-limit'Junio C Hamano1-0/+4
2023-08-10sequencer: truncate labels to accommodate loose refsMark Ruvald Pedersen1-0/+4
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-207/+77
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-0/+2
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-0/+75
2023-07-05kwset: move translation table from ctypeCalvin Wan1-3/+0
2023-07-05sane-ctype.h: create header for sane-ctype macrosCalvin Wan1-61/+1
2023-07-05git-compat-util: move wrapper.c funcs to its headerCalvin Wan1-111/+1
2023-07-05git-compat-util: move strbuf.c funcs to its headerCalvin Wan1-32/+0
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-0/+2
2023-06-21git-compat-util.h: remove unneccessary include of wildmatch.hElijah Newren1-2/+0
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-6/+0
2023-04-11treewide: remove double forward declaration of read_in_fullElijah Newren1-6/+0
2023-03-28Merge branch 'pe/time-use-gettimeofday'Junio C Hamano1-0/+19
2023-03-21git-compat-util: use gettimeofday(2) for time(2)Paul Eggert1-0/+19
2023-03-17Merge branch 'mc/credential-helper-www-authenticate'Junio C Hamano1-0/+19
2023-02-27http: read HTTP WWW-Authenticate response headersMatthew John Cheetham1-0/+19
2023-02-23hex.h: move some hex-related declarations from cache.hElijah Newren1-0/+1
2023-01-23Merge branch 'rs/use-enhanced-bre-on-macos'Junio C Hamano1-0/+5
2023-01-21Merge branch 'rs/dup-array'Junio C Hamano1-2/+13
2023-01-16Sync with 2.39.1Junio C Hamano1-0/+8
2023-01-09add DUP_ARRAYRené Scharfe1-0/+5
2023-01-09do full type check in BARF_UNLESS_COPYABLERené Scharfe1-3/+6
2023-01-09factor out BARF_UNLESS_COPYABLERené Scharfe1-2/+5
2023-01-08use enhanced basic regular expressions on macOSRené Scharfe1-0/+5
2022-12-19Merge branch 'jk/avoid-redef-system-functions-2.30'Junio C Hamano1-5/+12
2022-12-13Sync with 2.38.3Junio C Hamano1-0/+8
2022-12-13Sync with Git 2.37.5Junio C Hamano1-0/+8
2022-12-13Merge branch 'maint-2.36' into maint-2.37Junio C Hamano1-0/+8
2022-12-13Merge branch 'maint-2.35' into maint-2.36Junio C Hamano1-0/+8
2022-12-13Merge branch 'maint-2.34' into maint-2.35Junio C Hamano1-0/+8
2022-12-13Merge branch 'maint-2.33' into maint-2.34Junio C Hamano1-0/+8
2022-12-13Sync with Git 2.32.5Junio C Hamano1-0/+8
2022-12-13Sync with Git 2.31.6Junio C Hamano1-0/+8
2022-12-13Sync with Git 2.30.7Junio C Hamano1-0/+8
2022-12-09pretty: fix integer overflow in wrapping formatPatrick Steinhardt1-0/+8
2022-12-05git-compat-util: undefine system names before redeclaring themJeff King1-0/+4
2022-12-01git-compat-util: avoid redefining system function namesJeff King1-3/+8
2022-10-27Merge branch 'ab/unused-annotation' into maint-2.38Junio C Hamano1-1/+4
2022-10-27Merge branch 'jk/unused-anno-more'Junio C Hamano1-6/+10
2022-10-17mark unused parameters in trivial compat functionsJeff King1-6/+10
2022-10-17Merge branch 'ab/unused-annotation'Junio C Hamano1-1/+4
2022-10-07Merge branch 'ds/use-platform-regex-on-macos'Junio C Hamano1-0/+1
2022-10-05git-compat-util.h: GCC deprecated message arg only in GCC 4.5+Alejandro R. Sedeño1-1/+4
2022-09-14Merge branch 'ab/unused-annotation'Junio C Hamano1-6/+7
2022-09-14Merge branch 'jk/unused-annotation'Junio C Hamano1-2/+11
2022-09-13Merge branch 'jk/pipe-command-nonblock' into maintJunio C Hamano1-0/+22
2022-09-13Merge branch 'ab/submodule-helper-prep'Junio C Hamano1-0/+3
2022-09-02submodule--helper: check repo{_submodule,}_init() return valuesÆvar Arnfjörð Bjarmason1-0/+3
2022-09-01git-compat-util.h: use "deprecated" for UNUSED variablesÆvar Arnfjörð Bjarmason1-1/+2
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-6/+6
2022-08-26grep: fix multibyte regex handling under macOSDiomidis Spinellis1-0/+1
2022-08-25Merge branch 'vd/scalar-generalize-diagnose'Junio C Hamano1-0/+1
2022-08-25Merge branch 'jk/pipe-command-nonblock'Junio C Hamano1-0/+22
2022-08-19is_path_owned_by_current_uid(): mark "report" parameter as unusedJeff King1-1/+2
2022-08-19config: mark unused callback parametersJeff King1-1/+3
2022-08-19git-compat-util: add UNUSED macroJeff King1-0/+6
2022-08-17git-compat-util: make MAX_IO_SIZE define globally availableJeff King1-0/+22
2022-08-12scalar-diagnose: move 'get_disk_info()' to 'compat/'Victoria Dye1-0/+1
2022-08-08setup: prepare for more detailed "dubious ownership" messagesJohannes Schindelin1-1/+4
2022-06-23Sync with 2.35.4Johannes Schindelin1-1/+57
2022-06-23Sync with 2.34.4Johannes Schindelin1-1/+57
2022-06-23Sync with 2.33.4Johannes Schindelin1-1/+57
2022-06-23Sync with 2.32.3Johannes Schindelin1-1/+57
2022-06-23Sync with 2.31.4Johannes Schindelin1-1/+57
2022-06-23Sync with 2.30.5Johannes Schindelin1-1/+57
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