@@ -208,7 +208,6 @@ __gitcomp ()
208
208
209
209
case " $cur_ " in
210
210
--* =)
211
- COMPREPLY=()
212
211
;;
213
212
* )
214
213
local IFS=$' \n '
@@ -614,7 +613,6 @@ __git_complete_remote_or_refspec ()
614
613
case " $cmd " in
615
614
push) no_complete_refspec=1 ;;
616
615
fetch)
617
- COMPREPLY=()
618
616
return
619
617
;;
620
618
* ) ;;
@@ -630,7 +628,6 @@ __git_complete_remote_or_refspec ()
630
628
return
631
629
fi
632
630
if [ $no_complete_refspec = 1 ]; then
633
- COMPREPLY=()
634
631
return
635
632
fi
636
633
[ " $remote " = " ." ] && remote=
@@ -951,7 +948,6 @@ _git_am ()
951
948
"
952
949
return
953
950
esac
954
- COMPREPLY=()
955
951
}
956
952
957
953
_git_apply ()
@@ -971,7 +967,6 @@ _git_apply ()
971
967
"
972
968
return
973
969
esac
974
- COMPREPLY=()
975
970
}
976
971
977
972
_git_add ()
@@ -1031,7 +1026,6 @@ _git_bisect ()
1031
1026
__gitcomp_nl " $( __git_refs) "
1032
1027
;;
1033
1028
* )
1034
- COMPREPLY=()
1035
1029
;;
1036
1030
esac
1037
1031
}
@@ -1175,7 +1169,6 @@ _git_clone ()
1175
1169
return
1176
1170
;;
1177
1171
esac
1178
- COMPREPLY=()
1179
1172
}
1180
1173
1181
1174
_git_commit ()
@@ -1359,7 +1352,6 @@ _git_fsck ()
1359
1352
return
1360
1353
;;
1361
1354
esac
1362
- COMPREPLY=()
1363
1355
}
1364
1356
1365
1357
_git_gc ()
@@ -1370,7 +1362,6 @@ _git_gc ()
1370
1362
return
1371
1363
;;
1372
1364
esac
1373
- COMPREPLY=()
1374
1365
}
1375
1366
1376
1367
_git_gitk ()
@@ -1447,7 +1438,6 @@ _git_init ()
1447
1438
return
1448
1439
;;
1449
1440
esac
1450
- COMPREPLY=()
1451
1441
}
1452
1442
1453
1443
_git_ls_files ()
@@ -1583,7 +1573,6 @@ _git_mergetool ()
1583
1573
return
1584
1574
;;
1585
1575
esac
1586
- COMPREPLY=()
1587
1576
}
1588
1577
1589
1578
_git_merge_base ()
@@ -1896,7 +1885,6 @@ _git_config ()
1896
1885
return
1897
1886
;;
1898
1887
* .* )
1899
- COMPREPLY=()
1900
1888
return
1901
1889
;;
1902
1890
esac
@@ -2277,7 +2265,6 @@ _git_remote ()
2277
2265
__gitcomp " $c "
2278
2266
;;
2279
2267
* )
2280
- COMPREPLY=()
2281
2268
;;
2282
2269
esac
2283
2270
}
@@ -2393,8 +2380,6 @@ _git_stash ()
2393
2380
* )
2394
2381
if [ -z " $( __git_find_on_cmdline " $save_opts " ) " ]; then
2395
2382
__gitcomp " $subcommands "
2396
- else
2397
- COMPREPLY=()
2398
2383
fi
2399
2384
;;
2400
2385
esac
@@ -2407,14 +2392,12 @@ _git_stash ()
2407
2392
__gitcomp " --index --quiet"
2408
2393
;;
2409
2394
show,--* |drop,--* |branch,--* )
2410
- COMPREPLY=()
2411
2395
;;
2412
2396
show,* |apply,* |drop,* |pop,* |branch,* )
2413
2397
__gitcomp_nl " $( git --git-dir=" $( __gitdir) " stash list \
2414
2398
| sed -n -e ' s/:.*//p' ) "
2415
2399
;;
2416
2400
* )
2417
- COMPREPLY=()
2418
2401
;;
2419
2402
esac
2420
2403
fi
@@ -2531,7 +2514,6 @@ _git_svn ()
2531
2514
__gitcomp " --revision= --parent"
2532
2515
;;
2533
2516
* )
2534
- COMPREPLY=()
2535
2517
;;
2536
2518
esac
2537
2519
fi
@@ -2556,13 +2538,10 @@ _git_tag ()
2556
2538
2557
2539
case " $prev " in
2558
2540
-m|-F)
2559
- COMPREPLY=()
2560
2541
;;
2561
2542
-* |tag)
2562
2543
if [ $f = 1 ]; then
2563
2544
__gitcomp_nl " $( __git_tags) "
2564
- else
2565
- COMPREPLY=()
2566
2545
fi
2567
2546
;;
2568
2547
* )
0 commit comments