-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libgit2update #153
base: master
Are you sure you want to change the base?
Libgit2update #153
Conversation
51a100a
to
e24c7fb
Compare
Do you understand why -Wlong-long -Werror is turned On on windows build? |
@exactly-one-kas are you using VS to build Gittyup? I'm using MinGW and there the Werror is not turned on |
e3c63ce
to
fbfd037
Compare
MSVC works, and the error that required to use clang seems to be gone now, I'll switch back to MSVC |
I asked once in the libgit2 slack channel, but got no response Hi, I am trying to move from
|
As I understand it, Using the |
Thanks for the hint. I will check it out next days |
src/git/CMakeLists.txt
Outdated
target_link_libraries(git git2 Qt5::Core Qt5::Network util) | ||
target_link_libraries(git | ||
$<TARGET_OBJECTS:libgit2> | ||
$<TARGET_OBJECTS:util> # util of libgit2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a good idea - this is an internal part of libgit2 and shouldn't be used by us
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, using git2
instead of libgit2
for target_link_libraries results in CMake trying to use the system-wide installed libgit2, so we should just put libgit2
in here
f8e2b59
to
b71ad6b
Compare
I noticed there are very few differences between our fork and the upstream main branch |
ed226b4
to
19c2b49
Compare
19c2b49
to
023bb8a
Compare
023bb8a
to
ae374e6
Compare
Reason: to check if it still passes the flatpak build
Description: In a previous libgit2 version there was an assert and return if the stash is invalid, but in newer once it is not
|
Reason: because macos 12 is deprecated
blame: fix update from bufferremote: add callbacks for connect/disconnect
hash: changed git_repository_hashfile to hash symlinks the same as when they are added to the index
submodule: pass absolute path to cloneThe init callback worked because it uses the parent repo path to contruct
distinct repo and working directories, but the tests for an existing empty
directory in git_clone were relative to the current working directory
instead of the parent repository directory.
patch: add context lines accessor
patch: add owner accessorpatch: added flag to disable mmap
push: fixed several update callback issues
Update callback is no longer called (and the reference isn't updated) when the
local and remote oids already match. The update callback is now called for tags.
Finally, fixed a leak when there are multiple refspecs.
diff: initialize git_diff_options.context_lines to an invalid default value and read 'diff.context' when the value is invalid
checkout: notify for deleted files
blame: disable rename detection
blame: add blame progress callback
fetch: work around failure to fetch annotated tags added to existing commits