You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some objects may be packed in .git/objects/pack/*.pack file, which may cause some properties like tag, commitMessage, ... to be null. Looking at the source code, these .pack files are not used at all.
This is how I produced the issue, some steps are probably redundant:
Clone existing repo from GitLab repository
Create tag for the last commit in master
Create a new branch with some commits
Create merge request and accept it
Create tag for the last commit in master
git fetch, git pull
You can also reproduce it by running git gc. Running git unpack-objects after fixes it.
Some objects may be packed in .git/objects/pack/*.pack file, which may cause some properties like tag, commitMessage, ... to be null. Looking at the source code, these .pack files are not used at all.
This is how I produced the issue, some steps are probably redundant:
You can also reproduce it by running git gc. Running git unpack-objects after fixes it.
Here is specification of the git .pack format:
https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/technical/pack-format.txt
The text was updated successfully, but these errors were encountered: