Lodra

joined 1 year ago
MODERATOR OF
[–] Lodra 5 points 5 months ago

I saw this joke on my feed yesterday. I’m guessing they just wanted to post something interesting.

Note to OP: I don’t need the license for Fallout 4. Thanks for sharing the key with someone here. Roll again!

[–] Lodra 2 points 5 months ago* (last edited 5 months ago) (2 children)

I’m on my phone so I can’t really test these out. But this should give you a few methods for printing the list of files changed.

Here’s a similar page to show the changes for a specific file. I expect that git blame will be similarly useful.

A few others that may help you get started as well:

git —help
git rev-parse
git log
git history
[–] Lodra 5 points 5 months ago (2 children)

Wordle 1,096 2/6

🟩🟨🟨⬛⬛
🟩🟩🟩🟩🟩

Well that went well today

[–] Lodra 1 points 5 months ago (1 children)

Yikes! Is this a one-time task?

[–] Lodra 1 points 5 months ago (6 children)

Well this is definitely a bit odd. Send like those comments should be included with the original change. Or maybe they shouldn’t be recorded as comments at all and they should be a git commit message. And where does that hard copy report come from? Anyways, back to your actual question.

At this point, I’m still suggesting a tiny utility to assist with adding the comments. It looks like %ATTCHANGE and %REM are part of a very sort list of possible values. If so, a little cli tool can definitely help there. It could also handle the general comment structure and the changed value easily. Do these comments ever include something besides #ACCEPTED?

The tricky part is the ‘12.24/4’. It sounds like you go through the report and then find the files/lines to create these comments. Is that right? It would be tricky to code a cli tool for doing that because you need to jump around between files.

Last note for now, some simple git commands can definitely help you here. You could easily generate a list of changed files and lines. Another could show you the changed text. For any given change. Etc.

[–] Lodra 1 points 5 months ago (9 children)

Can you give an example of the change and your comment for a single file?

2000 is a lot of files. If you need to do this often, it might be best to build a small cli tool to make this easier or fully automated. It really depends on how you choose to create those comments.

[–] Lodra 2 points 5 months ago (1 children)

pop-ups (which disappear when I start typing) or a dedicated diff-view which takes up too much space on my small monitor

What kind of experience are you looking? Apparently, something small that persists while you type. Think you could share some more details?

[–] Lodra 3 points 5 months ago (11 children)

I think GitLens has some features based on git diff , though I haven’t personally explored them much. Note that many of its features are locked behind a paid license. They’ll give a trial though to test everything for free. But the free features are definitely quite nice!

[–] Lodra 8 points 5 months ago

Thanks for asking the question. Apparently I need to check out opensuse!

[–] Lodra 3 points 5 months ago (1 children)

Why are you spamming this post to so many communities? It’s been in my feed 5 times now in maybe 60 seconds.

[–] Lodra 11 points 5 months ago (3 children)

This was my only meaningful personal interaction with lemmy.ml that stands out. It was not a good experience. It became very clear, very fast that I would simply have no meaningful discussion with these people. So I left some downvotes on the awful comments promoting violence and stopped engaging.

I haven’t blocked the instance or any users. But i am considering it.

[–] Lodra 3 points 5 months ago

100%

At first, I was so skeptical of it not having tabs. I just didn’t understand the design and thought it destroyed its function as a browser. Now that I’ve been using it for many months, I view the lack of tabs as one of its best features 🤣

I just also use a secondary browser for the few things I want to persist. In my case, I use normal Firefox. Which is still safari and iOS is blah blah blah…

view more: ‹ prev next ›