vendor/libgit2/src/refspec.c in rugged-0.22.2 vs vendor/libgit2/src/refspec.c in rugged-0.23.0b1
- old
+ new
@@ -131,9 +131,12 @@
GITERR_CHECK_ALLOC(refspec->string);
return 0;
invalid:
+ giterr_set(
+ GITERR_INVALID,
+ "'%s' is not a valid refspec.", input);
return -1;
}
void git_refspec__free(git_refspec *refspec)
{