Skip to content

[WIP] Update to libgit 1.9.5 - #32

Draft
Rosuavio wants to merge 16 commits into
allyourcodebase:mainfrom
Rosuavio:update
Draft

Rosuavio wants to merge 16 commits into
allyourcodebase:mainfrom
Rosuavio:update

Conversation

@Rosuavio

@Rosuavio Rosuavio commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Trying to see how far I can bump libgit to see if it fixes a wired error I am getting where it says I dont have $HOME/.gitconfig file (which I should not need as I have a $XDG_CONFIG_HOME/git/config file).

@Rosuavio

Copy link
Copy Markdown
Contributor Author

I can't seem to figure out how to get this to build...

@Parzival-3141

Parzival-3141 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for taking a look at this! FYI, upstream has had some security patches since 1.9.5, so the goal for this PR should be to update to 1.9.7 instead. My strategy for doing these upgrades is to get the diff between versions of the cmake files and make changes based off that.

Our config header was missing some variables and defining unecessary ones.
The source files were missing some definitions from SelectRegex.cmake.
GIT_REGEX_PCRE2 flag is only used if linking system pcre2.
@Parzival-3141

Copy link
Copy Markdown
Collaborator

Main library builds now, CI is failing to build the test runner. Even when we get the test runner building I'd like to do a pass checking the cmake diffs, as some important configuration changes could have slipped through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants