From f09bc9eda2426ab0e711ea3928e51f09cc50eb05 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 7 Feb 2023 23:08:40 +0800 Subject: Update --- alias | 3 +-- tools/git/check-repos.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/alias b/alias index 2b7f2bd..62e023b 100644 --- a/alias +++ b/alias @@ -368,10 +368,9 @@ alias sample.mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' alias sample.kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' alias sample.osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' -alias sample.image='curl -O https://file-examples.com/storage/fe4b4c6261634c76e91986b/2017/10/file_example_JPG_100kB.jpg' alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' -alias sample.mp4='curl -O https://jsoncompare.org/LearningContainer/SampleFiles/Video/MP4/Sample-MP4-Video-File-Download.mp4' +alias sample.lorem='curl -o lorem http://metaphorpsum.com/paragraphs/4/16' alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' diff --git a/tools/git/check-repos.sh b/tools/git/check-repos.sh index 5180fc9..abaa3a2 100755 --- a/tools/git/check-repos.sh +++ b/tools/git/check-repos.sh @@ -28,7 +28,7 @@ while read repo remote; do changes="$(git -c color.status=always status --short)" # Diff between from local repo and remote - cherry="$([ -n "`git remote`" ] && git cherry)" + cherry="$([ -n "`git remote`" ] && git cherry 2>/dev/null)" if [[ $COUNT_ONLY == true ]]; then # If '-n' is specified, only count repo with changes/local-diff -- cgit v1.2.3-70-g09d2