Hello,
On Wed 14 May 2025 at 03:42pm +02, Simon Josefsson wrote:
Package: git-debpush
Version: 12.12
Severity: wishlist
I was in a situation where 'git push --force' would have been necessary
to force-push to some changes, and used 'git-debpush --force'.
However this doesn't pass --force to 'git push'.
Reviewing the man page, I would tend to agree that this is the right
approach since --force is used to mean something different here.
However, I think the situation is still a bit sub-optimal.
How about a 'git debpush --force=git-push' mode?
Alternatively, document this and suggest that in this rather odd
situation, people can use 'git-debpush --tag-only' and then do the 'git
push --force' since it is really an unsafe way of working.
The idea is that --force forces any and all applicable --force=foo.
I agree with you that --force implying doing a git force push is
probably unwanted. Therefore if we add an option for this, it would
need to be a specially naemd one, e.g. --force-push.
Right now I am leaning towards documenting "git-debpush never does force pushes, if you need that do an explicit "git push --force", as you also suggest.
--
Sean Whitton
--=-=-Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgksBkZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQDpJD/9vV2MQ5qVu3iQ8oU1fhDhn /1sAd8NSrvvJ4E2N+mk2o9EEuwBtCZJRjgj6xzD5Q7d9B+D3XDJ99bUKMVcqOkdx DIUpD+Z6jfP5RevV3lCvFsIRZtkkYgF7Zeo/7la2ukT5YtqcfNs6NIjoyVBMI7Ls 3FYyjztIgUdiTBHkrGz5S46rEO7Ti2cK3TVc0Z4WsatySLk6MMPxxacLKbN0VR77 Wj+VYyqTcIiz7X2R2/Rr2gMqKr6gEzuRXi4z4cidb1bdakGqGZbdTsP/XSxjIbSX spMEn94EuEmbyV7BrRVy+nO1E8Ylmc16rByy2iYw/3yw/FQMg/AGqqLDeOxqOEBO 98aMdrKFzKnEYdbXJCFTdDRvddCsHLMWjbNRZMLtS5fk9OgfcjcN/It2L+Q+05LW IAi5dGvhM3cItHsFoYY166u49wi0qgORBw5NpgYmTHjsqs67xALvdmS7kiVHYB4c ZoX+EuTXlCmzavvw4P1TTyvRGVfeur/mJXgvj7mMPJQiZ23hHJf64QaiLZ2x1c0v x3eYxSKsf8xb8tW8ca5+TX7EWOjsALvwDU+r70sS0cCuxCTdnsqS7H3mBq64eYjd eJ27BdOnuYJrt84v4qa/mHsxciVzcLwqIFUJBGrwGE/HxpR2JNt2IGZ07fdNRrtm 2YRGbTmy24SbZsLyJkc50g==I3KB
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Us