Mailinglist Archive: opensuse-packaging (155 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Proper version scheme for packages from git, hg, svn, ...
В Sat, 11 Jan 2014 08:47:18 +0100 (CET)
Jan Engelhardt <jengelh@xxxxxxx> пишет:

my @args = ("git", "describe", "--match=$pattern",
"--abbrev=0", $commit);

Should not it use --first-parent? Otherwise there is risk to pick up
wrong tag from merged branch.

chomp(my $len = `git rev-list "$commit" | wc -l`);

Why not "git rev-list --count $commit"? (Same comment about
--first-parent)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups