diff --git a/ble.pp b/ble.pp index 349f3d30..ea11e3f9 100644 --- a/ble.pp +++ b/ble.pp @@ -605,7 +605,7 @@ function ble-update { # release version local branch=${_ble_base_repository#*:} ( ble/bin/mkdir -p "$_ble_base/src" && builtin cd "$_ble_base/src" && - git clone https://github.com/akinomyoga/ble.sh "$_ble_base/src/ble.sh" -b "$branch" && + git clone --depth 1 https://github.com/akinomyoga/ble.sh "$_ble_base/src/ble.sh" -b "$branch" && builtin cd ble.sh && make all && make INSDIR="$_ble_base" install ) && ble-reload return diff --git a/memo.txt b/memo.txt index 0d2cb755..0fe500b9 100644 --- a/memo.txt +++ b/memo.txt @@ -2462,6 +2462,7 @@ bash_tips - complete: resolve collision of flag chars with `shopt -s nocaseglob` `#D1186` 550fb14 - color: change return variable of `ble/color/{,i}face2{g,sgr}` to `ret` `#D1188` 1885b54 - global: workaround `shopt -s xpg_echo` `#D1191` e46f9a3 + - main (`ble-update`): use shallow clone `#D1196` 0000000 2019-02-09 (#D0915...#D1015) 949e9a8...df4feaa @@ -3409,6 +3410,10 @@ bash_tips 2020-01-05 + * ble-update は shallow clone で良い気がする [#D1196] + ただ、これを今更変更しても 0.3.0 には反映されないのでは。 + と思ったがこれも fix として投入してしまえば問題ない。 + * decode: "Failed to load the default keymap" で失敗した時に状態復元できていない [#D1195] https://github.com/akinomyoga/ble.sh/issues/33 これも上の報告のエラーメッセージの後に変な状態になっている様子から気づいた。