Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    David Macek
    @elieux
    Maybe you can remove the group from there.
    Johannes Schindelin
    @dscho
    image.png
    Nope.
    David Macek
    @elieux
    Well, then. :D
    Johannes Schindelin
    @dscho
    @elieux FYI I finally managed to rebase Git for Windows' BusyBox-w32 patches to a newer version. There are quite a few hacks still, and I am pretty unsure that I want to keep the \\?\ business (read: I intend to drop it completely), but I managed to compile it here. I pushed up the result as wip-rebase-2021-02-19 to https://github.com/dscho/busybox-w32.
    David Macek
    @elieux
    Ooh. Nice. I should try it. I know of at least one bug in path handling with the current version.
    Johannes Schindelin
    @dscho
    Cool. Maybe you can also help with cleaning up the TO-SPLIT and the Ensure... patches?
    David Macek
    @elieux
    You got a response on that 0-bit relocation.
    Johannes Schindelin
    @dscho
    Yes, and it's a good one.
    David Macek
    @elieux
    Not sure if relevant, but there's a new busybox-w32 release from today.
    Johannes Schindelin
    @dscho
    It is relevant. There are fixes in there that I provided ;-)
    David Macek
    @elieux
    The update-patches.sh scripts in msys2-runtime...
    Nevermind. Now I understand, the first cd is not related to the git repository.
    David Macek
    @elieux
    2.31.0.rc1.windows.1-1 was pulled?
    Johannes Schindelin
    @dscho
    No, why?
    It was superseded by v2.30.2 (which is newer, and "more official").
    David Macek
    @elieux
    Because the supersession is not obvious from the version number.
    Pacman complained that it's a downgrade..
    Anyway, that's enough explanation. Thanks.
    Johannes Schindelin
    @dscho
    But v2.30.2 was superseded by v2.31.0-rc2 (as far as mingw-w64-git goes) in the meantime, anyway...

    Pacman complained that it's a downgrade..

    Oh right, I didn't think of that.

    It shouldn't have been a big deal, but I was a bit too tired to do v2.30.2 and v2.31.0-rc2 on the same day (besides, I needed to wait for a GCM Core update before I could release v2.31.0-rc2).
    Brent Arias
    @brentarias

    Hey all, I have done a git merge --no-commit --no-ff {my_branch}. I decided I don't want the result, so I typed git merge --abort. I get this error:

    error: Entry 'O365OutlookConnector.Test/O365OutlookGeneratorTest.cs' not uptodate. Cannot merge.
    fatal: Could not reset index file to revision 'HEAD'

    What can I do?

    Brent Arias
    @brentarias
    Never mind. I fixed it by unstaging all changes, then again trying git merge --abort.
    pjujeczko
    @pjujeczko
    Hello @elieux . I got problems after istalling git for windows in my MSYS2. I ended up without Pacman... I thought I was doing steps 1-5 of https://github.com/git-for-windows/git/wiki/Install-inside-MSYS2-proper right, but then I realised I was using wrong shell (Mingw64 instead of Msys). Msys2 was up to date before that, I use win10. Is it possible to restore Pacman without reinstalling the whole Msys2?
    David Macek
    @elieux
    I don't think the used shell would have a significant effect on the process.
    Did you get any errors during the process?
    pjujeczko
    @pjujeczko
    No, there were no errors. Step 5 - the console has closed and after that there was no pacman;)
    One more thing - in step 4 instead of "pacman -Syyuu" i wrote "pacman -Syu", but as I said the system was upgraded that same day
    David Macek
    @elieux
    How do you know you don't have Pacman anymore?
    @pjujeczko
    pjujeczko
    @pjujeczko
    there is no pacman in /usr/bin - command is deleted. What's more - I've installed pacman from the repo (msys2-keyring-1~20210213-1-any.pkg.tar.zst,
    pacman-5.2.2-13-x86_64.pkg.tar.zst,
    pacman-mirrors-20210227-1-any.pkg.tar.zst), but after extracting pacman, I can use it once before it gets self-deleted from /usr/bin with such errors:
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
    error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
    error: database 'msys' is not valid (invalid or corrupted database (PGP signature))
    error: database 'git-for-windows' is not valid (invalid or corrupted database (PGP signature))
    pjujeczko
    @pjujeczko
    @elieux
    David Macek
    @elieux
    I don't think Pacman will delete itself unless you tell it to.
    This is something else deleting it.
    Check BLODA.
    pjujeczko
    @pjujeczko
    Ok, thanks
    pjujeczko
    @pjujeczko
    You're right, I had to add exception for my Msys2 location in my anti-virus soft (Avast, free). It was the cause of pacman disappearance. However after untaring the pacman (in root directory by $ tar -x -I zstd -vf ~/pacman/pacman-5.2.2-13-x86_64.pkg.tar.zst) I get same errors. I tried to install libgpgme and mingw-w64-gpgme packages that same way, but it makes no difference.
    @elieux
    David Macek
    @elieux
    Invalid crypto engine?
    Can we do something like TeamViewer? I'm quite tired to formulate hypotheses in a useful way.
    pjujeczko
    @pjujeczko
    @elieux Ok, I'll try to manage myself, maybe I'll just reinstall Msys2 and the packages. Since it's something that may be related to the antivirus soft and maybe it would need to be suppressed somehow, I'd prefer not to be giving the TeamViewer access. But anyway, thank you for your help, it seems that it was Avast that spoiled the things.
    David Macek
    @elieux
    If you search for "error: GPGME error: Invalid crypto engine", you should get results with various advice related to MSYS2.
    pjujeczko
    @pjujeczko
    Seems it works now - I installed the msys2-base and needed to add sqlite and libsqlite packages, then GPGME stopped moaning and I reinstalled the keys (https://www.msys2.org/news/#2020-06-29-new-packagers) and was able to get the system working. Thanks a lot, David, you're guys doing a great job keeping Msys2 working!
    Brent Arias
    @brentarias

    Hey! I made a branch that is pointing to remote "Bravo". I have successfully pushed to the "Bravo" remote. Now I want to push that same branch to a different repo "Charlie". I've tried this:

    git branch --set-upstream-to Charlie myBranch

    It didn't work. Instead it told me that Charlie is now tracking against the master branch. How do I fix this?

    David Macek
    @elieux
    @brentarias, git push Charlie myBranch:myBranch?
    Brent Arias
    @brentarias
    @elieux I did get it fixed that same day. I don't recall what I did.