Explorar o código

Improve diff-pr build order comparison

Use the first tag (aka least specific) before and after sorting by build order
Joseph Ferguson %!s(int64=2) %!d(string=hai) anos
pai
achega
0c8a6f9b1a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 || :
 		"$diffDir/_bashbrew-cat-sorted.sh" "$@" 2>>temp/_bashbrew.err > temp/_bashbrew-cat || :
 
 
-		bashbrew list --uniq "$@" \
+		bashbrew cat --format "$templateLastTags" "$@" \
 			| sort -V \
 			| sort -V \
 			| xargs -r bashbrew list --uniq --build-order 2>>temp/_bashbrew.err \
 			| xargs -r bashbrew list --uniq --build-order 2>>temp/_bashbrew.err \
 			| xargs -r bashbrew cat --format "$templateLastTags" 2>>temp/_bashbrew.err \
 			| xargs -r bashbrew cat --format "$templateLastTags" 2>>temp/_bashbrew.err \