Selaa lähdekoodia

doc: Add a trailing -- to the git command in FILE_VERSION_FILTER

This makes sure no path will be interpreted as a revision.
Guillem Jover 13 vuotta sitten
vanhempi
commit
05c9a53e63
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      doc/Doxyfile.in

+ 1 - 1
doc/Doxyfile.in

@@ -586,7 +586,7 @@ SHOW_NAMESPACES        = YES
 # provided by doxygen. Whatever the program writes to standard output
 # provided by doxygen. Whatever the program writes to standard output
 # is used as the file version. See the manual for examples.
 # is used as the file version. See the manual for examples.
 
 
-FILE_VERSION_FILTER    = "git log -n 1 --pretty=format:%h"
+FILE_VERSION_FILTER    = "git log -n 1 --pretty=format:%h --"
 
 
 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
 # by doxygen. The layout file controls the global structure of the generated
 # by doxygen. The layout file controls the global structure of the generated