Commit 3501d95
committed
sequencer: remove unnecessary variable setting
revs.pretty_given is only ever read in builtin/log.c, and nothing from
builtin/log.c is ever called from sequencer.c. So setting this variable
cannot do anything. Remove it.
This was introduced in commit 62db524 ("rebase -i: generate the
script via rebase--helper", 2017-07-14), which, although `git rev-list`
was in use at the time the commit message talks about how the logic had
been based on `git log`. Because of this, I am guessing this line was
copied or ported from part of builtin/log.c without recognizing that
this line was not doing anything and could be removed. It's certainly
not doing anything now, though, so remove it.
Signed-off-by: Elijah Newren <newren@gmail.com>1 parent 1a8a497 commit 3501d95
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6086 | 6086 | | |
6087 | 6087 | | |
6088 | 6088 | | |
6089 | | - | |
6090 | 6089 | | |
6091 | 6090 | | |
6092 | 6091 | | |
| |||
0 commit comments