login
Header Space

 
 

Mailing list archives

Search results

Found 211 matching messages (0.122 seconds). Page 1 of 11.

Re: [RFC PATCH] Re: Empty directories...

... object database (in repository) represents a directory in the >> working area. There was ... object database _can_ represent an _empty_ > directory that has been added explicitly, ... The problems with git problems with empty directories stems from the >> fact ...

git - Jakub Narebski - Jul 22 2007 - 08:06

[PATCH] Optionally do not list empty directories in git-ls-files --others

... in cg-status. --- Without the --directory flag, git-ls-files wouldn ... if it is not a directory). * That likely will not change ... continue; } + if (!strcmp(arg, "--no-empty-directory")) { + hide_empty_directories = 1; + continue; + } if ...

git - Petr Baudis - Mar 26 2006 - 10:59

Re: [RFC PATCH] Re: Empty directories...

... , but basically, you should test a directory >> > structure that has the files >> > ... an empty tree! I find the correlation empty->gone very important. > [ Yeah, yeah, we ... "a" entry (when it is an empty > directory) differently from the "a" entry ...

git - David Kastrup - Jul 21 2007 - 13:38

Re: [RFC PATCH] Re: Empty directories...

... object database _can_ represent an _empty_ >> directory that has been added explicitly, ... for filemode for '.'? > 040000 (i.e. directory)? Taken already. By something very ... put for sha1? Sha1 of an empty directory? Some fixed value. Everywhere the ...

git - David Kastrup - Jul 22 2007 - 09:53

Re: [RFC PATCH] Re: Empty directories...

... has now actively gained knowledge about the directory. In a similar vein, "deleted" means ... . > So to add a new empty directory, you'd have to do > ... or whatever) is set to tracking directories. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ...

git - David Kastrup - Jul 22 2007 - 17:08

Re: Empty directories...

... > Bzzt. Wrong. > > We *do* remove directories when all files under them go ... 't go away. Git will remove directories which _had_ git-tracked content prior ... into git. git silently skipped registering empty directories. Then a different version got ...

git - David Kastrup - Jul 18 2007 - 13:34

[RFC PATCH] Re: Empty directories...

... is actually _interested_ in trackign empty directories (hint hint) decide that ... = active_cache[pos]; + + /* Was it a directory before? */ + if (S_ISDIR(ntohl(ce-> ... [i]->mode); + if (posns[i]->directory) + ce->ce_mode = htonl(S_IFDIR); ce-> ...

git - Linus Torvalds - Jul 18 2007 - 19:16

Re: [RFC PATCH] Re: Empty directories...

... object database (in repository) represents a directory in the > working area. There was ... The problems with git problems with empty directories stems from the > fact that ... . Again, the information whether a directory was added explicitly. > Index is ...

git - David Kastrup - Jul 21 2007 - 21:39

Empty directories...

... . Those trees contain, among other things, directories where new fonts/formats/whatever get ... and find -name .git-this-is-empty -exec rm -- {} + after every checkout. ... and not have some littering of empty directories lying around. And that git- ...

git - David Kastrup - Jul 17 2007 - 20:13

Re: Empty directories...

... or rather git tracks content and > >> empty directories have no content. > >> > >> In the ... checkout to not leave complete empty hierarchies > >> around because git can't ... the output by default (but the directories). This might be a sensible ...

git - Johannes Schindelin - Jul 18 2007 - 07:24

Re: [RFC PATCH] Re: Empty directories...

... and the interactions when adding a directory or adding files under a directory ... this, and adding code to handle directories where needed (eg the above " ... directory traversal already knows that empty directories are special, so getting the right ...

git - Linus Torvalds - Jul 18 2007 - 20:22

Re: Empty directories...

... So if >> you have fileA, empty/, sub/fileB tracked, your index ... if it is a non-empty directory (super-user only; this ... system supports `unlink' for nonempty directories) [...] which works on just the ...

git - David Kastrup - Jul 20 2007 - 04:41

Re: [RFC PATCH] Re: Empty directories...

... talking about a repository tree _becoming_ empty, we need > the information whether or ... tracked. creating .gitignore in the directories that you want tracked lets the ... the evaporate-or-not-when-empty information > _otherwise_ into the repository. ...

git - david - Jul 22 2007 - 02:38

Re: [RFC PATCH] Re: Empty directories...

... talking about a repository tree _becoming_ >> empty, we need the information whether or ... only want to track some specific > directories, and for that tracking "." doesn't ... the evaporate-or-not-when-empty information >> _otherwise_ into the repository. ...

git - David Kastrup - Jul 22 2007 - 05:08

Re: [RFC PATCH] Re: Empty directories...

... an entry "." of a new type "directory" that can be part of the ... whole notion of "remembering" whether a directory was added > explicitly as an empty directory or not is just not ... removes the corresponding tree or subtree. Emptiness is not a special case, ...

git - David Kastrup - Jul 20 2007 - 01:35

Re: Empty directories...

... anything. > ) > > David. Reconsider "tracking" all directories and what that would > give ... index > and remove them. No directory would be removed automatically, except ... git-checkout something else leaves empty directory skeletons lying around. > We ...

git - David Kastrup - Jul 27 2007 - 01:22

Re: Empty directories...

... and permissions are important. Yes, but directories really are different. First off, git ... what is so different. (A true "directory content" tracker by definition would have ... that for the case of an empty directory the "existence tracking" is 100 ...

git - Linus Torvalds - Jul 18 2007 - 12:23

Re: Empty directories...

... In order to archive every empty >> directory explicitly? > > No, of course ... repository that is _mapped_ to directories on checkout. > / > /tracked/ > /tracked/file ... is fundamentally that selectively tracking directories is a > more powerful concept ...

git - David Kastrup - Jul 20 2007 - 06:54

Re: [RFC PATCH] Re: Empty directories...

... the .gitignore file situated _in_ the directory. So making "." sit _in_ the tree ... empty (taking the corresponding work tree directory with it, if possible). And that's ... 1 # Now I don't want empty directories and their parents lying around. ...

git - David Kastrup - Jul 21 2007 - 22:39

Re: [RFC PATCH] Re: Empty directories...

... not be in the corresponding work directory tree, depending on whether the directory ... talking about a repository tree _becoming_ empty, we need the information whether or ... encode the evaporate-or-not-when-empty information _otherwise_ into the repository. ...

git - David Kastrup - Jul 22 2007 - 00:28

speck-geostationary