浏览代码

Comment git vsn cmd changes

pull/3/head
Tuncer Ayaz 13 年前
父节点
当前提交
475daf2c4a
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      src/rebar_app_utils.erl

+ 3
- 1
src/rebar_app_utils.erl 查看文件

@ -166,7 +166,9 @@ vcs_vsn(Vcs, Dir) ->
end.
vcs_vsn_cmd(git) ->
%% git describe a committish to accomodate for subtrees or deps/apps
%% Explicitly git-describe a committish to accomodate for projects
%% in subdirs which don't have a GIT_DIR. In that case we will
%% get a description of the last commit that touched the subdir.
"git describe --always --tags `git log -n 1 --pretty=format:%h .`";
vcs_vsn_cmd(hg) -> "hg identify -i";
vcs_vsn_cmd(bzr) -> "bzr revno";

正在加载...
取消
保存