Thread (7 messages) flat view 7 messages, 2 authors, 2016-06-15

Re: [PATCH 4/4] git-submodule: prepare for the .git-file

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:44:10

On Feb 4, 2008 11:23 PM, Mike Hommey [off-list ref] wrote:
On Mon, Feb 04, 2008 at 09:59:21PM +0100, Lars Hjemli wrote:
quoted
-             if ! test -d "$path"/.git
+             if ! test -e "$path"/.git
Is test -e supported by all shells we support ? I have some doubts...
I dunno, but we already use it two other places in git-submodule.

I guess we can rewrite it to something like
  test -d $path || test -f $path || test -L $path || exist=0
if needed.

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