Commit b7de153
create_autostash(): remove unneeded parameter
The default_reflog parameter of create_autostash() is passed to
reset_head(). However as creating a stash does not involve updating
any refs the parameter is not used by reset_head(). Removing the
parameter from create_autostash() simplifies the callers.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 1526d0f commit b7de153
4 files changed
+9
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1565 | 1565 | | |
1566 | 1566 | | |
1567 | 1567 | | |
1568 | | - | |
1569 | | - | |
| 1568 | + | |
1570 | 1569 | | |
1571 | 1570 | | |
1572 | 1571 | | |
| |||
1637 | 1636 | | |
1638 | 1637 | | |
1639 | 1638 | | |
1640 | | - | |
1641 | | - | |
| 1639 | + | |
1642 | 1640 | | |
1643 | 1641 | | |
1644 | 1642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1657 | 1657 | | |
1658 | 1658 | | |
1659 | 1659 | | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4100 | 4100 | | |
4101 | 4101 | | |
4102 | 4102 | | |
4103 | | - | |
4104 | | - | |
| 4103 | + | |
4105 | 4104 | | |
4106 | 4105 | | |
4107 | 4106 | | |
| |||
4138 | 4137 | | |
4139 | 4138 | | |
4140 | 4139 | | |
4141 | | - | |
| 4140 | + | |
4142 | 4141 | | |
4143 | 4142 | | |
4144 | 4143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments