Skip to content

Commit f5fcfa4

Browse files
Merge pull request #346 from blueyed/first-parent
git: DEFAULT_DESCRIBE: add --first-parent
2 parents 41c8ebc + 2555a9f commit f5fcfa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setuptools_scm/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .win_py31_compat import samefile
1313

1414

15-
DEFAULT_DESCRIBE = "git describe --dirty --tags --long --match *.*"
15+
DEFAULT_DESCRIBE = "git describe --dirty --tags --long --match *.* --first-parent"
1616

1717

1818
class GitWorkdir(object):

0 commit comments

Comments
 (0)