Skip to content

Commit fade1c9

Browse files
committed
[branch-delete] Enrich commit graph
1 parent 91ad795 commit fade1c9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

branch_delete/download.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,27 @@ def run_command(command: List[str], verbose: bool) -> Optional[str]:
2121

2222

2323
def setup(verbose: bool = False):
24+
run_command(["git", "commit", "--allow-empty", "-m", "Implement loading"], verbose)
25+
run_command(["git", "commit", "--allow-empty", "-m", "Fix loading bug"], verbose)
26+
2427
run_command(["git", "checkout", "-b", "optimization-approach-1"], verbose)
25-
run_command(
26-
["git", "commit", "--allow-empty", "-m", "Fixed scrolling issue"], verbose
27-
)
28+
run_command(["git", "commit", "--allow-empty", "-m", "Apply bubble sort"], verbose)
29+
run_command(["git", "commit", "--allow-empty", "-m", "Fix sorting bug"], verbose)
2830

2931
run_command(["git", "checkout", "main"], verbose)
30-
run_command(["git", "merge", "optimization-approach-1"], verbose)
31-
3232
run_command(["git", "checkout", "-b", "optimization-approach-2"], verbose)
3333
run_command(
3434
[
3535
"git",
3636
"commit",
3737
"--allow-empty",
3838
"-m",
39-
"Trying out alternative optimization approach",
39+
"Apply merge sort",
4040
],
4141
verbose,
4242
)
4343

4444
run_command(["git", "checkout", "main"], verbose)
45+
run_command(
46+
["git", "merge", "optimization-approach-1", "--no-ff", "--no-edit"], verbose
47+
)

0 commit comments

Comments
 (0)