mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
fetchgit: strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=27862
This commit is contained in:
parent
99a9a4b8bc
commit
c78c1288c3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ if test -n "$rev"; then
|
|||
parsed_rev=$(
|
||||
git rev-parse --verify "$rev" 2>/dev/null ||
|
||||
git rev-parse --verify origin/"$rev" 2>/dev/null
|
||||
)
|
||||
)
|
||||
git reset --hard $parsed_rev
|
||||
git checkout -b __nixos_build__
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue