Commit d9b7a317 authored by hydrargyrum's avatar hydrargyrum

git/git-copy-files-from: cleaner code by using magic ":/" for root

parent ea2649a3
......@@ -22,8 +22,7 @@ shift
if [ $# -eq 0 ]
then
set -- .
cd "$(git rev-parse --show-toplevel)"
set -- :/
fi
git checkout "$commit" -- "$@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment