mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-10-05 15:35:29 +02:00
fix bug due to the sort command ignoring whitespace
This commit is contained in:
parent
b4ed213b75
commit
ac6e67b1e0
|
@ -46,7 +46,7 @@ for f in "$articles_dir"/* $deleted_files; do
|
||||||
if [ "$ts" != "" ]; then
|
if [ "$ts" != "" ]; then
|
||||||
echo "$ts ${f#$articles_dir/}"
|
echo "$ts ${f#$articles_dir/}"
|
||||||
fi
|
fi
|
||||||
done | sort -nr | cut -d' ' -f2 > "$articles_sorted_with_delete"
|
done | sort -k1,1nr | cut -d' ' -f2 > "$articles_sorted_with_delete"
|
||||||
|
|
||||||
commits=`mktemp`
|
commits=`mktemp`
|
||||||
git log --oneline | cut -d' ' -f1 > "$commits"
|
git log --oneline | cut -d' ' -f1 > "$commits"
|
||||||
|
|
Loading…
Reference in a new issue