Skip to content

Commit 95c6fdf

Browse files
Fix bugs as a result of merge
Signed-off-by: Jacob Stopak <[email protected]>
1 parent 0baf677 commit 95c6fdf

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

git_sim/__main__.py

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def main(
121121
"--quiet",
122122
"-q",
123123
help="Suppress all output except errors",
124+
),
124125
invert_branches: bool = typer.Option(
125126
settings.invert_branches,
126127
help="Invert positioning of branches by reversing order of multiple parents where applicable",

git_sim/git_sim_base_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def get_nondark_commits(self):
905905
nondark_commits = []
906906
return nondark_commits
907907

908-
def draw_ref(self, commit, i, top, text="HEAD", color=m.BLUE):
908+
def draw_ref(self, commit, top, i=0, text="HEAD", color=m.BLUE):
909909
refText = m.Text(text, font="Monospace", font_size=20, color=self.fontColor)
910910
refbox = m.Rectangle(
911911
color=color,

git_sim/log.py

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def __init__(self, ctx: typer.Context, n: int, all: bool):
3434
pass
3535

3636
def construct(self):
37-
<<<<<<< HEAD
3837
if not settings.stdout and not settings.output_only_path and not settings.quiet:
3938
print(
4039
f"{settings.INFO_STRING} {type(self).__name__.lower()}{' --all' if self.all_subcommand else ''}{' -n ' + str(self.n) if self.n_subcommand else ''}"

0 commit comments

Comments
 (0)