Explorar el Código

Clarify use of git describe

pull/3/head
Tuncer Ayaz hace 13 años
padre
commit
e6d5a494b0
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      src/rebar_utils.erl

+ 2
- 3
src/rebar_utils.erl Ver fichero

@ -423,9 +423,8 @@ emulate_escript_foldl(Fun, Acc, File) ->
end. end.
vcs_vsn_cmd(git) -> 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 case os:type() of
{win32,nt} -> {win32,nt} ->
"FOR /F \"usebackq tokens=* delims=\" %i in " "FOR /F \"usebackq tokens=* delims=\" %i in "

Cargando…
Cancelar
Guardar