diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-05-11 23:57:38 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-05-11 23:57:38 +0200 |
commit | e6d5a494b047566ece90ef8c8ab52bcbefb75053 (patch) | |
tree | f33b26aed539d5369900dc57404afd693657c1cb /src | |
parent | 4ee2f6ea1bfb6c799694ab6f04c7c476a8e0032b (diff) |
Clarify use of git describe
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_utils.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index a70be7d..b01a35a 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -423,9 +423,8 @@ emulate_escript_foldl(Fun, Acc, File) -> end. vcs_vsn_cmd(git) -> - %% Explicitly git-describe a committish to accommodate 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 the last commit that touched CWD + %% required for correct versioning of apps in subdirs, such as apps/app1 case os:type() of {win32,nt} -> "FOR /F \"usebackq tokens=* delims=\" %i in " |