kactus-io / kactus

:cactus: A true version control tool for designers
https://kactus.io
MIT License
1.5k stars 86 forks source link

Change between branches generate commits #140

Open yceballost opened 4 years ago

yceballost commented 4 years ago

Description

When I change between branches, Kactus generate a commit with a lot of file changes. This commit disappears if you let Kactus loading more time, but will be fantastic If this commit doesn't appear.

I understand that this is happening because there is a gap when Github change files between branches and when you are in the "new" branch you still have files from another branch.

Version

Steps to Reproduce

  1. Change to another already created branch
  2. Look in commit panel

Expected Behavior

Change to another branch without seeing this commits

Actual Behavior

A lot of new commits appears

mathieudutour commented 4 years ago

If I understand correctly, you mean that it show some changed files, not that it creates a commit?

yceballost commented 4 years ago

In this video you can see the issue. In this case, they are very little time in the screen, but I other cases remain as a common commit.

https://www.dropbox.com/s/peple0knfqyypxm/FakeCommits.mov?dl=1

mathieudutour commented 4 years ago

So yes, that's not a commit, that's just showing the current changed files until Kactus re-generate the sketch file.

This is a bit weird and I haven't seen this behaviour before. I can't reproduce in my repos. Would it be possible for you to give me access to the repo?

yceballost commented 4 years ago

Sorry, I can't because it is confidential 😴

Timidfriendly commented 4 years ago

+1