Commit 3ffa4df
completion: add hack to enable file mode in bash < 4
This way we don't need all the compat stuff, different filters, and so
on. Also, now we complete exactly the same in bash 3 and bash 4.
This is the way bash-completion did it for quite some time, when bash 3
was supported. For more information about the hack:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272660#64
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent fda54ef commit 3ffa4df
1 file changed
Lines changed: 7 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
274 | 266 | | |
275 | 267 | | |
276 | 268 | | |
277 | 269 | | |
278 | 270 | | |
279 | 271 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | 272 | | |
285 | 273 | | |
286 | 274 | | |
287 | 275 | | |
288 | 276 | | |
289 | 277 | | |
290 | 278 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | 279 | | |
301 | 280 | | |
302 | 281 | | |
| |||
2651 | 2630 | | |
2652 | 2631 | | |
2653 | 2632 | | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | 2633 | | |
2663 | 2634 | | |
2664 | 2635 | | |
| |||
0 commit comments