Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] compress output of `cd' when installing templates

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:27

Timo Hirvonen [off-list ref] writes:
Gang Chen [off-list ref] wrote:
quoted
When CDPATH is set in Bash, `cd' writes new working directory to
stdout, which corrupts output of `tar cf - .'.
Fix bash instead, or just don't export CDPATH.  It is used by bash only
so exporting it is unnecessary.
Thanks.

It is not just unnecessary, but "export CDPATH" anywhere in your
rc scripts is actively *WRONG*.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help