[Rpm-maint] [rpm-software-management/rpm] Don't error git based %autosetup when master branch does not exist (PR #2120)

Miro Hrončok notifications at github.com
Mon Jul 11 11:26:37 UTC 2022


> git config init.defaultBranch master

 - If you do that after `git init`, it makes no difference.
 - If you do that before `git init`, it fails with `fatal: not in a git directory`.
 - If you add `--global`, that would modify the user's git settings, which is not nice.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2120#issuecomment-1180283935
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2120/c1180283935 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220711/e6984918/attachment-0001.html>


More information about the Rpm-maint mailing list