summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Morrow <jared@basho.com>2013-11-22 13:42:54 -0800
committerJared Morrow <jared@basho.com>2013-11-22 13:42:54 -0800
commit05f81eca8a297fe2cb67a4a2696c8f5c36187452 (patch)
tree564cd3f5db184315408b68a49b9f9ba8c328263d
parent8b7f5442a905f47169efa3790e08d9ac5070d825 (diff)
parent01df43e58adbb3885a530eda098231ff4c957064 (diff)
Merge pull request #154 from Vagabond/adt-update-tags
Fix update-deps with certain forms of the {tag, ...} type
-rw-r--r--src/rebar_deps.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl
index 5e4f482..5e69709 100644
--- a/src/rebar_deps.erl
+++ b/src/rebar_deps.erl
@@ -564,7 +564,7 @@ update_source1(AppDir, {git, _Url, {branch, Branch}}) ->
rebar_utils:sh(?FMT("git pull --ff-only --no-rebase -q origin ~s", [Branch]), ShOpts);
update_source1(AppDir, {git, _Url, {tag, Tag}}) ->
ShOpts = [{cd, AppDir}],
- rebar_utils:sh("git fetch --tags origin", ShOpts),
+ rebar_utils:sh("git fetch origin", ShOpts),
rebar_utils:sh(?FMT("git checkout -q ~s", [Tag]), ShOpts);
update_source1(AppDir, {git, _Url, Refspec}) ->
ShOpts = [{cd, AppDir}],