Open Ruws99 opened 3 years ago
A conceptual mistake was made on my part. The problem I am having is staging the whole folder contents rather than just staging new or changed files. Any help in achieving this efficiently will be much appreciated
The problem is still present. After the changes are committed with command line the "git status" states that branch is up to date. If the same is done with pygit2 the "git status" still shows that there are changes to be committed. So I presume that I need to remove all files from the index after committing. Am I correct or am I missing something?
Issue found that when I stage and commit in pygit2 the staged file list is not removed. This in turn causes the whole working directory to be cleared because the staged files is still present if "git status" is called. Is there a workaround? : Like Index.remove() after the version is staged and committed?