Skip to content

Commit c61d49b

Browse files
Costa ShulyupinCosta Shulyupin
Costa Shulyupin
authored and
Costa Shulyupin
committed
*fetch_age
1 parent 3df4d11 commit c61d49b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git-wizard

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ remote()
318318
{
319319
rep remote '%1' "config --get branch.$prop[branch].remote"
320320
local h=$git_dir/FETCH_HEAD
321-
test -e $h && prop l fetch_age '%1 (min) @v' "$(((`date +%s` - `stat -c %Z $h`) / 60))"
321+
test -e $h &&
322+
prop l fetch_age '%1 (min) @v' \
323+
"$(((`date +%s` - `stat -c %Z $h`) / 60))"
322324
#((fetch= ! ${#fetch_age} || $prop[fetch_age] > 10 || $prop[fetch_age] < 0))
323325
if [[ -z "$prop[fetch_age]" || "$prop[fetch_age]" -gt 360 || "$prop[fetch_age]" -lt 0 ]]; then
324326
git fetch --all --prune

0 commit comments

Comments
 (0)