Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Jun 11, 2024
1 parent de360b9 commit f81c694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/Repository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ Commit Repository::commit(const Signature &author, const Signature &committer,
return Commit();

// Lookup the parent commit.
QVector<const git_commit *> parents;
QVector<git_commit *> parents;
if (Reference ref = head()) {
if (Commit commit = ref.target())
parents.append(commit);
Expand Down
1 change: 1 addition & 0 deletions src/ui/RemoteCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "git/Command.h"
#include "git/Id.h"
#include "git/RevWalk.h"
#include "git2/sys/errors.h"
#include "log/LogEntry.h"
#include <libssh2.h>
#include <QDialog>
Expand Down

0 comments on commit f81c694

Please sign in to comment.