Re: `git stash pop` UX Problem
From: David Kastrup <hidden>
Date: 2016-06-15 23:00:01
Junio C Hamano [off-list ref] writes:
David Kastrup [off-list ref] writes:quoted
All that verbosity... $ git stash pop Auto-merging foo.txt CONFLICT (content): Merge conflict in foo.txt Cowardly refusing to drop stash $Actually, modulo "Cowardly", that may be the most harmless phrasing, as apply_stash may try to signal an error for reasons not related to an inability to apply the change cleanly (e.g. we may have failed to refresh the index).
Without "Cowardly", the capriciosity of "refusing" does not make much sense. The error message is a tribute to GNU tar: dak@lola:/tmp$ mkdir x dak@lola:/tmp$ tar cfz x tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. dak@lola:/tmp$ The boring variant would be $ git stash pop Auto-merging foo.txt CONFLICT (content): Merge conflict in foo.txt Not dropping stash $ -- David Kastrup