Skip to content

When "fixing" its mistakes it creates more files #22

@MichaelSinz

Description

@MichaelSinz

So, I had it create some code file.c and then as it needed to fix it, it created a new file file_fixed.c and then as it was trying to adjust the Makefile it created Makefile.fixed - all of this when I had also asked it to commit each change into the git repo locally.

It should know how to use git (which it seems to) but that new versions or fixes to code would be done in the file that is being fixed and version controlled and if the fix does not work out that it can then go back via the version control system. Maybe having a second file helps at times to compare but git diff works too.

But the real mess is that when it got confused about what was going on due to compiling and getting two main() functions error due to there being two files with main() defined, the file.c and the file_fixed.c

It took it many iterations to clean up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions