Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > On Tue, 17 Jun 2008, Junio C Hamano wrote: > >> Of course, >> >> $ git stash apply stashed-longer >> >> would work but that is by accident, as at that point what you are feeding >> "git stash" command is not really a name of a ref that is a stash. > > It would not be by accident. It would work because we designed git-stash > to use refs to store working-directory vs index changes, and this command > line you wrote was _exactly_ what I intended. Well, it is. For normal stash oriented operations such as $ git stash list stashed-longer $ git stash apply stashed-longer@{22} won't work on them. Only the quoted form works and that _is_ by accident. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html