diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-07 23:08:40 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-07 23:08:40 +0800 |
commit | f09bc9eda2426ab0e711ea3928e51f09cc50eb05 (patch) | |
tree | 668a98a3412ba03f59831101fe447510afc7aa2c | |
parent | 7c06b64342df1d1e872527a9fea1c04aa7b626ad (diff) |
Update
-rw-r--r-- | alias | 3 | ||||
-rwxr-xr-x | tools/git/check-repos.sh | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -368,10 +368,9 @@ alias sample.mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' | |||
368 | alias sample.kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' | 368 | alias sample.kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' |
369 | alias sample.osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' | 369 | alias sample.osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' |
370 | alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' | 370 | alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' |
371 | alias sample.image='curl -O https://file-examples.com/storage/fe4b4c6261634c76e91986b/2017/10/file_example_JPG_100kB.jpg' | ||
372 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' | 371 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' |
373 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | 372 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' |
374 | alias sample.mp4='curl -O https://jsoncompare.org/LearningContainer/SampleFiles/Video/MP4/Sample-MP4-Video-File-Download.mp4' | 373 | alias sample.lorem='curl -o lorem http://metaphorpsum.com/paragraphs/4/16' |
375 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 374 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |
376 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' | 375 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' |
377 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' | 376 | 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 | |||
28 | changes="$(git -c color.status=always status --short)" | 28 | changes="$(git -c color.status=always status --short)" |
29 | 29 | ||
30 | # Diff between from local repo and remote | 30 | # Diff between from local repo and remote |
31 | cherry="$([ -n "`git remote`" ] && git cherry)" | 31 | cherry="$([ -n "`git remote`" ] && git cherry 2>/dev/null)" |
32 | 32 | ||
33 | if [[ $COUNT_ONLY == true ]]; then | 33 | if [[ $COUNT_ONLY == true ]]; then |
34 | # If '-n' is specified, only count repo with changes/local-diff | 34 | # If '-n' is specified, only count repo with changes/local-diff |