Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: "git stash" is not known to git

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:25

Matthieu Moy [off-list ref] writes:
David Kastrup [off-list ref] writes:
quoted
One has to use git-stash rather than "git stash".  Oversight?
This looks like an incorrect installation, with git-stash in your
$PATH, but not in the place git looks for its commands (I don't
remember the exact mechanism).
I don't think so: in git.c we have at lines 362ff

                { "show-branch", cmd_show_branch, RUN_SETUP },
                { "show", cmd_show, RUN_SETUP | USE_PAGER },
                { "stripspace", cmd_stripspace },
                { "symbolic-ref", cmd_symbolic_ref, RUN_SETUP },

So it really seems like stash is not known to git.c.  Of course, I
have no real clue about git.c's operation (or I'd have proferred a
patch) and not right now the time to look further.

-- 
David Kastrup
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help