nixpkgs/pkgs
Michael Weiss 2aadb9a53d
nix-prefetch-git: Run git-init with --initial-branch=master
The reason for this change is simply to avoid the following messages
that are unnecessary and can be confusing (and these messages will be
repeated for each submodule):
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>

With this change the behaviour remains unchanged (apart from the
suppressed "warning" in the console output of course) and therefore this
doesn't cause any hashes to change and by default nix-prefetch-git uses
the "fetchgit" branch anyway (branchName can be set to override the
default):
Switched to a new branch 'fetchgit'

For that reason the initial branch name doesn't matter anyway and since
we're not relying on / hardcoding "master" we could simply switch to
"main" (which seems most common nowadays). See [0] for more details on
why this wouldn't break anything.
However, since the initial branch name doesn't matter and to avoid any
additional risks it was "decided" to keep using "master" (s. #113313).

[0]: https://github.com/NixOS/nixpkgs/pull/113313#issuecomment-780589516
2021-02-18 11:34:34 +01:00
..
applications signal-cli: 0.7.4 -> 0.8.0 2021-02-16 15:16:41 +01:00
build-support nix-prefetch-git: Run git-init with --initial-branch=master 2021-02-18 11:34:34 +01:00
common-updater
data luna-icons: 0.9.2 -> 1.0 2021-02-15 10:20:19 -03:00
desktops Merge pull request #110430 from mjlbach/init_parachute 2021-02-16 01:23:01 +01:00
development r-arrow: update the library to version 3.0.0 to match the version of arrow-cpp 2021-02-16 12:47:21 +01:00
games osu-lazer: 2021.205.1 -> 2021.212.0 2021-02-14 05:38:06 +00:00
misc Merge pull request #113233 from IvarWithoutBones/ryu 2021-02-16 07:45:49 +01:00
os-specific fwupd: fix aarch64 build 2021-02-16 03:43:46 +00:00
pkgs-lib
servers Merge pull request #113000 from fabaff/aqualogic 2021-02-16 04:28:45 +01:00
shells zsh-system-clipboard: init at 0.7.0 2021-02-11 20:01:06 +03:00
stdenv stdenv/generic: recommend lib instead of pkgs.lib in place of stdenv.lib 2021-02-11 11:34:06 +07:00
test
tools Merge pull request #113274 from danieldk/fend-install-check 2021-02-16 08:44:10 +00:00
top-level Merge pull request #113107 from danieldk/remove-ancient-cudas 2021-02-16 08:47:52 +01:00