diff options
author | 2015-03-02 15:56:37 -0400 | |
---|---|---|
committer | 2015-03-02 15:56:37 -0400 | |
commit | 8f4da219cd9989092afa6a8873421894a6f73eb4 (patch) | |
tree | 2626d0d995d66616a4ac6885ae35f66faf3086cd /Annex/Direct.hs | |
parent | 43ecf83182eaca5c5fc5b132dc1fa0e9db0ee3c0 (diff) |
add -q to git symbolic-ref call
Avoids a warning message from git when HEAD doesn't exist. Which it won't
when eg, git-annex is used in a submodule just cloned with
git clone --recursive. In this case, a specific ref is checked out and
there's no HEAD yet.
The code already returned Nothing in this case, so no behavior change other
than not showing the warning. And git-annex operates fine in this
situation.
Diffstat (limited to 'Annex/Direct.hs')
0 files changed, 0 insertions, 0 deletions