[Rpm-maint] [rpm-software-management/rpm] Revert branch creation in %autosetup -S git (PR #2154)
Panu Matilainen
notifications at github.com
Thu Aug 18 09:41:43 UTC 2022
As mentioned in https://github.com/rpm-software-management/rpm/pull/854#issuecomment-1209089265, can't we just do 'git checkout --track -b rpm-build' rather than all this explicit branch dance? As in, revert https://github.com/rpm-software-management/rpm/commit/8b9da98e4c9e256c7c6ecca7f1e5bdbbce29e5da and then:
```
-%{__git} branch rpm-build \
-%{__git} checkout rpm-build \
-%{__git} branch --set-upstream-to=master
+%{__git} checkout --track -b rpm-build
```
It seems to me this accomplishes the name without having to refer to any explicit branch-names, other than our own. Or am I missing something?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2154#issuecomment-1219273459
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2154/c1219273459 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220818/915f5566/attachment.html>
More information about the Rpm-maint
mailing list