Create an extras directory with files that are not related to the build but that I need to keep around for reference.
This commit is contained in:
parent
ccf37e758c
commit
8b61f7b86b
5 changed files with 297 additions and 11 deletions
23
PPP3/extras/process.diff
Normal file
23
PPP3/extras/process.diff
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- subprojects/libgit2-1.8.0/src/util/process.h 2024-03-20 16:19:37.000000000 -0400
|
||||
+++ process.h 2024-05-09 08:05:48.279986200 -0400
|
||||
@@ -8,6 +8,8 @@
|
||||
#ifndef INCLUDE_process_h__
|
||||
#define INCLUDE_process_h__
|
||||
|
||||
+typedef struct git_str git_str;
|
||||
+
|
||||
typedef struct git_process git_process;
|
||||
|
||||
typedef struct {
|
||||
@@ -112,10 +114,7 @@
|
||||
* cmdline arguments to ensure that they are not erroneously treated
|
||||
* as an option. For example, arguments to `ssh`.
|
||||
*/
|
||||
-GIT_INLINE(bool) git_process__is_cmdline_option(const char *str)
|
||||
-{
|
||||
- return (str && str[0] == '-');
|
||||
-}
|
||||
+#define git_process__is_cmdline_option(str) ((str) && (str[0]) == '-')
|
||||
|
||||
/**
|
||||
* Start the process.
|
Loading…
Add table
Add a link
Reference in a new issue