From: Tim Jaacks Date: Wed, 28 Sep 2022 09:02:42 GMT Subject: AW: git diff ^! syntax stopped working for stashes in Git 2.28 Message-ID: <15f30d59650b4de2b14d89f6e8cb21ce@garz-fricke.com> In-Reply-To: <70e87095-d8be-f859-f5b4-a5e15904149c@web.de> Hey Chris, hey René, thanks a lot for your replys. > So, Tim, does `git stash show -p stash@{0}` work for you? Yes, that works indeed. However, in my certain use-case I would prefer using `git diff`. > Letting `git diff X^!` mean the same as `git diff X ^X^` for a non-merge > makes sense to me given the definition from gitrevisions(7) cited above. > That in turn is the same as `git diff X^..X` and `git diff X^ X`. Yes, that is exactly how it worked before. And all the other syntaxes still work correctly. René, I saw you submitted some patches already, but these weren't approved obviously. So how does this continue now? Kind regards, Tim -- Tim Jaacks SOFTWARE DEVELOPER SECO Northern Europe GmbH Schlachthofstrasse 20 21079 Hamburg Germany T: +49 40 791899-183 E: tim.jaacks@seco.com Registergericht: Amtsgericht Hamburg, HRB 148893 Geschäftsführer: Stefan Heczko, Marc-Michael Braun, Massimo Mauri