Commit 308d7a7
contrib/completion: extract common diff/difftool options
difftool parses its own options and then passes the remaining options
onto diff. As a result, they share common command-line options. Instead
of duplicating the list, use a shared $__git_diff_difftool_options list.
The completion for diff is missing --relative and the completion for
difftool is missing --no-index. Add both of these to the common list.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent a8fa6a0 commit 308d7a7
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1694 | 1698 | | |
1695 | 1699 | | |
1696 | 1700 | | |
| |||
1713 | 1717 | | |
1714 | 1718 | | |
1715 | 1719 | | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
| 1720 | + | |
1720 | 1721 | | |
1721 | 1722 | | |
1722 | 1723 | | |
| |||
1738 | 1739 | | |
1739 | 1740 | | |
1740 | 1741 | | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
| 1742 | + | |
1746 | 1743 | | |
1747 | 1744 | | |
1748 | 1745 | | |
| |||
0 commit comments