Skip to content

Commit

Permalink
main (ble-update): use shallow clone
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 5, 2020
1 parent 846f284 commit 2a20d9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ble.pp
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions memo.txt
Expand Up @@ -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

Expand Down Expand Up @@ -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
これも上の報告のエラーメッセージの後に変な状態になっている様子から気づいた。
Expand Down

0 comments on commit 2a20d9c

Please sign in to comment.