3
0
Fork 0
forked from mirrors/nixpkgs

fetchgit: strip trailing whitespace

svn path=/nixpkgs/trunk/; revision=27862
This commit is contained in:
Peter Simons 2011-07-20 22:56:44 +00:00
parent 99a9a4b8bc
commit c78c1288c3

View file

@ -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