Thanks Philipp, but what about ./proc and ./proc/**
In the first case if proc is a directory and is ignored, are the content ignored too? Are not equivalent this two ignore patterns? 2009/8/20 Philipp Marek <[email protected]>: > Hello Davide, > >> What is the difference between >> >> ./proc > Ignores an entry "proc" on the top of the working copy > >> and >> >> /proc > Ignores the directory /proc, if / is a working copy. > > The biggest difference here is for deeper levels: > > /etc/**.dpkg-old > vs. > ./etc/**.dpkg-old > > The latter one would ignore /usr/local/etc/x.dpkg-old, if /usr/local/etc is > the working > copy; the first one would match, regardless if the wc is /etc or /. > >> and >> >> ./proc/** or /proc/** > Mostly the same as above. > With > /proc > the directory is ignored, with > /proc/** > only the contents. > > That makes a difference mostly on restore - with /proc you'd have to make the > mount > point yourself. > > http://doc.fsvs-software.org/doxygen-gif/group__ignpat.html > > > Regards, > > Phil > -- > Versioning your /etc, /home or even your whole installation? > Try fsvs (fsvs.tigris.org)! > > ------------------------------------------------------ http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2386240 To unsubscribe from this discussion, e-mail: [[email protected]].
