Ver Fonte

Improve diff-pr build order comparison

Use the first tag (aka least specific) before and after sorting by build order
Joseph Ferguson há 2 anos atrás
pai
commit
0c8a6f9b1a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      diff-pr.sh

+ 1 - 1
diff-pr.sh

@@ -335,7 +335,7 @@ _metadata-files() {
 
 		"$diffDir/_bashbrew-cat-sorted.sh" "$@" 2>>temp/_bashbrew.err > temp/_bashbrew-cat || :
 
-		bashbrew list --uniq "$@" \
+		bashbrew cat --format "$templateLastTags" "$@" \
 			| sort -V \
 			| xargs -r bashbrew list --uniq --build-order 2>>temp/_bashbrew.err \
 			| xargs -r bashbrew cat --format "$templateLastTags" 2>>temp/_bashbrew.err \