{"thread":{"id":"58528","subject":"Git pop/apply/drop with stash message","startedAt":"2022-09-28T17:55:31Z","lastAt":"2022-09-28T17:55:31Z","messageCount":1,"participants":["Ng, Alexander"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"463866","messageId":"CH2PR07MB81876BD87634A5C62BF0BC12EC549@CH2PR07MB8187.namprd07.prod.outlook.com","threadId":"58528","inReplyTo":null,"subject":"Git pop/apply/drop with stash message","fromName":"Ng, Alexander","fromEmail":"ang@slac.stanford.edu","sentAt":"2022-09-28T17:45:18Z","receivedAt":"2022-09-28T17:55:31Z","isPatch":false,"sender":{"key":"ang@slac.stanford.edu","avatar":null},"body":"Hello, I am experiencing the following issue. Thanks for reviewing.\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n1. Changes in working directory\n2. git stash push -m \"test\" :to stash changes in stash with message \"test\"\n3. git stash pop stash^{/test}  :pop stash \n \nWhat did you expect to happen? (Expected behavior)\ngit pops the stash with message \"test\", applying stash to files and removing stash from list\n \nWhat happened instead? (Actual behavior)\nReturns 'stash^{/test}' is not a stash reference\n \nWhat's different between what you expected and what actually happened?\nGit stash pop and git stash drop do not allow for referencing specific stashes by message.\nThe desired behavior does work for git stash apply stash^{/test}, but I need to also remove stash from list.\n \nAnything else you want to add:\n \nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n \n \n[System Info]\ngit version:\ngit version 2.35.4\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 2.6.32-754.43.1.el6.x86_64 #1 SMP Wed Nov 17 07:27:32 EST 2021 x86_64\ncompiler info: gnuc: 4.4\nlibc info: glibc: 2.12\n$SHELL (typically, interactive shell): /bin/bash\n \n \n[Enabled Hooks]"}]}