mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Fix error message
This commit is contained in:
parent
c274e005b6
commit
d9ba2a1634
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ T peelObject(git_repository * repo, git_object * obj, git_object_t type)
|
|||
T obj2;
|
||||
if (git_object_peel((git_object * *) (typename T::pointer *) Setter(obj2), obj, type)) {
|
||||
auto err = git_error_last();
|
||||
throw Error("peeling Git object '%s': %s", git_object_id(obj), err->message);
|
||||
throw Error("peeling Git object '%s': %s", *git_object_id(obj), err->message);
|
||||
}
|
||||
return obj2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue