Commit 1def7b5
git-gui: simplify using nice(1)
git-gui invokes some long running commands using "nice git $cmd" if nice
is found and works, otherwise just "git $cmd". The current code is more
complex than needed; let's simplify it.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>1 parent e369dbe commit 1def7b5
1 file changed
Lines changed: 7 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | 582 | | |
598 | 583 | | |
599 | 584 | | |
| |||
627 | 612 | | |
628 | 613 | | |
629 | 614 | | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
637 | 619 | | |
638 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
639 | 623 | | |
640 | 624 | | |
641 | 625 | | |
| |||
0 commit comments