| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | import errno | |
| 14 | 14 | import mmap | |
| 15 | 15 | ||
| 16 | + from collections import OrderedDict | ||
| 17 | + | ||
| 16 | 18 | from contextlib import contextmanager | |
| 17 | 19 | import signal | |
| 18 | 20 | from subprocess import ( | |
@@ -783,6 +785,7 @@ def transform_kwarg(self, name, value, split_single_char_options): | |||
| 783 | 785 | def transform_kwargs(self, split_single_char_options=True, **kwargs): | |
| 784 | 786 | """Transforms Python style kwargs into git command line options.""" | |
| 785 | 787 | args = list() | |
| 788 | + kwargs = OrderedDict(sorted(kwargs.items(), key=lambda x: x[0])) | ||
| 786 | 789 | for k, v in kwargs.items(): | |
| 787 | 790 | if isinstance(v, (list, tuple)): | |
| 788 | 791 | for value in v: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments