GitLiveApp / GitLive

GitLive Docs
82 stars 24 forks source link

Annoyance: stale branches from teammates show as conflicts #44

Closed virtulis closed 2 years ago

virtulis commented 3 years ago

I like the gutter conflict feature but right now it's quite annoying when a teammate is working on another project and has an old branch checked out.

It'd be nice to be able to ignore stale branches. Some options I see:

Reedyuk commented 3 years ago

Hi @virtulis, actually your third option is the easiest for us to implement so we can add that in one of the next releases

J3m5 commented 3 years ago

Any news on this one ? It's a bit annoying, thanks !

nbransby commented 3 years ago

We will be expanding the options for what to show in the gutter (just conflicts / all changes, online users / all users) in an update this month.

In the meantime you can ask your teammates to remove stale working copies from GitLive if they are not using that copy anymore by right clicking it in the GitLive window and selecting Remove from GitLive

nbransby commented 3 years ago

@virtulis @J3m5 is this solved for you guys now? Now, if the branch no longer exists on the remote then the changes do not show

virtulis commented 3 years ago

Is that for 13.0.0? I most certainly see "changes" from a person who hasn't even opened the project (or GitLive?) for months, in a branch long deleted.

nbransby commented 2 years ago

@virtulis can you share a screenshot of the gutter popup for these changes?

nbransby commented 2 years ago

We now have a stale filter for the gutter which ignores changes older than 3 months which is on by default.

Please reopen this issue if this doesn't solve your use case 👍

spence-novata commented 2 years ago

@nbransby Any way we can get a config option to define "stale"? 3 months is too long for us. We'd probably want to set this to 2-4 weeks.

Whilst I appreciate better git hygiene is probably the "correct" answer here, we were hoping to get early conflict information with little to no investment, and having everyone clean up their git branches a. isn't a priority right now and b. would require constant vigilance.

Another filter that would be a nice alternative would be the ability to display "live" and open PR conflicts.

nbransby commented 2 years ago

Hi @spence-novata, makes total sense we'll try and it add it in the next release

Ygnys commented 1 year ago

Hi @spence-novata, stale filter (which was hard coded to 3 months) was replaced with the ability to filter by "last updated" from 24 hours up to 3 years in the newest EAP. Here you can find instructions on how to switch to EAP in JetBrains and VS Code. Will be happy to hear how it works for you!