mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-16 00:00:31 +02:00
Merge pull request #2281 from XhmikosR/patch-2
This commit is contained in:
commit
3dc0b5f962
@ -1,14 +1,20 @@
|
|||||||
|
# editorconfig.org
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.py]
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
indent_size = 4
|
|
||||||
end_of_line = LF
|
|
||||||
|
|
||||||
[*.bat]
|
[*.bat]
|
||||||
end_of_line = CRLF
|
end_of_line = crlf
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
insert_final_newline = true
|
|
||||||
|
[*.py]
|
||||||
|
indent_size = 4
|
||||||
|
@ -52,12 +52,10 @@ extensions/social/tiuxo
|
|||||||
IFS='
|
IFS='
|
||||||
'
|
'
|
||||||
|
|
||||||
for item in $lists
|
for item in $lists; do
|
||||||
do
|
|
||||||
echo -n "" > $item/stats.out
|
echo -n "" > $item/stats.out
|
||||||
|
|
||||||
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item)
|
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item); do
|
||||||
do
|
|
||||||
# echo $item $HASH_DATE
|
# echo $item $HASH_DATE
|
||||||
IFS=" "
|
IFS=" "
|
||||||
split=(${HASH_DATE//,/ })
|
split=(${HASH_DATE//,/ })
|
||||||
|
2
stats.sh
2
stats.sh
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo \n "" > stats.out
|
echo \n "" > stats.out
|
||||||
|
|
||||||
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
|
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
|
||||||
# echo "$TAG_DATE"
|
# echo "$TAG_DATE"
|
||||||
split=(${TAG_DATE//,/ })
|
split=(${TAG_DATE//,/ })
|
||||||
|
Loading…
Reference in New Issue
Block a user