Comment 2 for bug 2012626

Revision history for this message
Robie Basak (racb) wrote :

A thought on how to fix this: I could implement a git_push function which wraps the shell call, and allows for particular (partial) refspecs to be optional via its arguments. Then it could do the "x in r.references" test. The main push calls could use this function instead, and the function could be tested easily then.