Commit c426003
format-patch: add --no-cc, --no-to, and --no-add-headers
These new options allow users to override their config settings for
format.cc, format.to and format.headers respectively. These options
only make git ignore the config settings and any previous command line
options, so you'll still have to add more command line options to add
extra headers. For example,
$ cat .git/config
[format]
to = Someone <someone@out.there>
$ git format-patch -1 --no-to --to="Someone Else <else@out.there>"
would format a patch addressed to "Someone Else" and not "Someone".
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ca9e0a1 commit c426003
2 files changed
Lines changed: 56 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
873 | 879 | | |
874 | 880 | | |
875 | 881 | | |
876 | 882 | | |
877 | 883 | | |
878 | | - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
879 | 888 | | |
880 | 889 | | |
881 | 890 | | |
882 | 891 | | |
883 | 892 | | |
884 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
885 | 897 | | |
886 | 898 | | |
887 | 899 | | |
| |||
940 | 952 | | |
941 | 953 | | |
942 | 954 | | |
943 | | - | |
944 | | - | |
| 955 | + | |
945 | 956 | | |
946 | | - | |
| 957 | + | |
947 | 958 | | |
948 | | - | |
| 959 | + | |
949 | 960 | | |
950 | 961 | | |
951 | 962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
160 | 198 | | |
161 | 199 | | |
162 | 200 | | |
| |||
0 commit comments