Re: [Xen-devel] [OSSTEST PATCH] build_clone: git clean newly cloned trees

2015-11-02 Thread Ian Campbell
On Thu, 2015-10-29 at 16:01 +, Andrew Cooper wrote: > On 29/10/15 15:57, Ian Jackson wrote: > > This may seem redundant, however: > > > > git does not track empty directories. So it can happen that a > > directory is created as part of `git clone', but is empty in the > > revision switched to

Re: [Xen-devel] [OSSTEST PATCH] build_clone: git clean newly cloned trees

2015-10-29 Thread Andrew Cooper
On 29/10/15 15:57, Ian Jackson wrote: > This may seem redundant, however: > > git does not track empty directories. So it can happen that a > directory is created as part of `git clone', but is empty in the > revision switched to with `git checkout'. > > In this situation, the tree we are going to

[Xen-devel] [OSSTEST PATCH] build_clone: git clean newly cloned trees

2015-10-29 Thread Ian Jackson
This may seem redundant, however: git does not track empty directories. So it can happen that a directory is created as part of `git clone', but is empty in the revision switched to with `git checkout'. In this situation, the tree we are going to build ought not to contain this directory, becaus