Skip to content

Commit 0643de3

Browse files
author
Codeflash Bot
committed
dont make all commits created as codeflash bot. let it the default settings, until we figure out something better.
Signed-off-by: Codeflash Bot <bot@codeflash.ai>
1 parent b17c5bf commit 0643de3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

codeflash/code_utils/git_worktree_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818

1919
def create_worktree_snapshot_commit(worktree_dir: Path, commit_message: str) -> None:
2020
repository = git.Repo(worktree_dir, search_parent_directories=True)
21-
with repository.config_writer() as cw:
22-
if not cw.has_option("user", "name"):
23-
cw.set_value("user", "name", "Codeflash Bot")
24-
if not cw.has_option("user", "email"):
25-
cw.set_value("user", "email", "bot@codeflash.ai")
2621

2722
repository.git.add(".")
2823
repository.git.commit("-m", commit_message, "--no-verify")

0 commit comments

Comments
 (0)