#716 [RFE] have hooks/pre-push send _remote as an argument
Opened by tdawson. Modified

Right now, when pre-push is ran, it is only sending the local_sha to the script, as so

centpkg pre-push-check "$local_sha"

That means that if a script like centpkg wants to do a check that deals with anything on the remote side, it can't. Even though it can see a remote directory in the repos, it does not know where the push is supposed to go, and thus can't base any check on that.

Please update the hooks/pre-push script to look something like this

centpkg pre-push-check "$local_sha" "$_remote"

As well as update any affected scripts.


Metadata