Re: [PATCH 2/2] completion: split __git_ps1 into a separate script
- From
Ted Pavlic <ted@tedpavlic.com>
- Date
- May 22, 2012, 22:29 UTC
- Message-ID
- <CAOnadRGBi0+Zno_eqzzkJjoUfXh=vEpEV5Cf_6zjOV42XPjXdg@mail.gmail.com>
- In-Reply-To
- <4FBC0019.6030702@in.waw.pl>
>> create mode 100644 contrib/completion/git-prompt.sh > Hi, > since git-prompt is not completion related anymore, should a different > directory be used?
Making it even more likely that the __gitdir in one will someday not match the __gitdir in another...
Maybe __gitdir should live inside git-prompt and git-completion would include git-prompt. That would make everything backward compatible too. And that way there's a good answer to why git-prompt lives inside the completion directory.
-- Ted Pavlic <ted@tedpavlic.com>