threads / discuss / 46806

KDevelop developers obviously don't use git :(

Subject: KDevelop developers obviously don't use git :(

## tl;dr

4 messages between Sep 22, 2017 and Sep 22, 2017.

replies: 3people: 3as markdown or json

Daniel Santos· Sep 22, 2017, 04:03 UTC · lore
https://bugs.kde.org/show_bug.cgi?id=379219
$ git push minor-rant-warning

KDevelop has a despicable habit of performing `git status --porcelain` whenever it damn well pleases ... or rather when it sees an alteration.  This this breaks git rebase because it grabs the $*()&@#$ lock file, often leading to catastrophic heart failure and sometimes really forcing you to git rebase --abort and start over (at least, that's been my solution when git rebase --continue complained that there was nothing to commit and maybe I had forgotten to add something).

I have argued that they should at least verify that there isn't a .git/rebase-merge directory present before doing that, but if I want to prevent a heart attack, it looks like I'm going to have to fix this one myself.  (Sorry for the rant!)

$ git reset minor-rant-warning~1

So first I need to inquire if there is a current mechanism to say "git status, but please fail if you're busy with a non-atomic operation".  If there is not one, then it would seem that there should be and how do I go about requesting it?

Thanks, Daniel

Jeff King· Sep 22, 2017, 04:23 UTC · re: Daniel Santos · lore

Re: KDevelop developers obviously don't use git :(

On Thu, Sep 21, 2017 at 11:03:53PM -0500, Daniel Santos wrote:
> So first I need to inquire if there is a current mechanism to say "git
> status, but please fail if you're busy with a non-atomic operation".  If
> there is not one, then it would seem that there should be and how do I
> go about requesting it?
You might be interested in this patch from yesterday:
  https://public-inbox.org/git/20170921043214.pyhdsrpy4omy54rm@sigill.intra.peff.net/
-Peff
Junio C Hamano· Sep 22, 2017, 04:38 UTC · re: Daniel Santos · lore

Re: KDevelop developers obviously don't use git :(

Daniel Santos <daniel.santos@pobox.com> writes:
> So first I need to inquire if there is a current mechanism to say "git
> status, but please fail if you're busy with a non-atomic operation".

Reading this list sometimes makes me wonder if there is some higher intelligence telling independent souls to come up with the same wish at the same time.

https://public-inbox.org/git/20170921050835.mrbgx2zryy3jusdk@sigill.intra.peff.net/
Daniel Santos· Sep 22, 2017, 04:57 UTC · re: Junio C Hamano · lore

Re: KDevelop developers obviously don't use git :(

On 09/21/2017 11:38 PM, Junio C Hamano wrote:
Show 9 quoted lines
> Daniel Santos <daniel.santos@pobox.com> writes:
>
>> So first I need to inquire if there is a current mechanism to say "git
>> status, but please fail if you're busy with a non-atomic operation".
> Reading this list sometimes makes me wonder if there is some higher
> intelligence telling independent souls to come up with the same wish
> at the same time.
>
> https://public-inbox.org/git/20170921050835.mrbgx2zryy3jusdk@sigill.intra.peff.net/

LMAO! This has been irritating me for some time, but I had to abort a somewhat complex interactive rebase earlier and it finally drove me to action.  I'm juggling so many projects right now that I really don't want to fix this myself, but..... grrr! and raaarh!, etc.

Daniel

← back to recent threads