Skip to content

Commit fca2ea8

Browse files
authored
Merge pull request #78 from liyishuai/patch-1
ignore_list: follow redirect
2 parents 970a10c + b42e203 commit fca2ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/gg

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ init() {
166166
}
167167

168168
ignore_list() {
169-
list=$(curl --silent "https://www.gitignore.io/api/list")
169+
list=$(curl --silent -L "https://www.gitignore.io/api/list")
170170
list=(${list//,/ })
171171

172172
for ignore in "${list[@]}"; do

0 commit comments

Comments
 (0)