summaryrefslogtreecommitdiffstats
path: root/.local/bin/gitrect-update
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2023-08-06 15:58:39 -0700
committerTyler Davis <tydavis@gmail.com>2023-08-06 15:58:39 -0700
commit4975071cd648970a7a073d54cb9021f517cfa0ae (patch)
tree14ee99dfc99a9dbeed74b99ab65c8138a080b1c8 /.local/bin/gitrect-update
parent51830dc3996c9571609c6299464825966a12f344 (diff)
downloaddotfiles-4975071cd648970a7a073d54cb9021f517cfa0ae.tar.gz
dotfiles-4975071cd648970a7a073d54cb9021f517cfa0ae.zip
git: sort list
Diffstat (limited to '.local/bin/gitrect-update')
-rwxr-xr-x.local/bin/gitrect-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/gitrect-update b/.local/bin/gitrect-update
index 3a79d1a..f0aa78d 100755
--- a/.local/bin/gitrect-update
+++ b/.local/bin/gitrect-update
@@ -123,6 +123,9 @@ for dirpath in $LIST; do
printf "\n" >>$TEMPFILE
done
+# Sort results
+sort -o ${TEMPFILE} ${TEMPFILE}
+
diffval=$(eval "diff -b ${DEFAULT_STATE} ${TEMPFILE}")
if [ $? -eq 0 ]; then
if [ $verbose -gt 0 ]; then