On Thu, Mar 6, 2008 Johannes Schindelin wrote:
>
>  On Thu, 6 Mar 2008, [EMAIL PROTECTED] wrote:
>
>  > I'd like to propose to set the "Hidden" attribute for .git directories
>  > under Windows, just like CVS and Subversion do for the "CVS" and ".svn"
>  > directories. Doing so simplifies browsing / searching the Working Tree
>  > as most tools support to not display / search hidden files / folders.
>
>  Probably.  But then it would be harder to edit .git/config directly, no?

Not really. I have my GUI set up to show hidden files and directories
dimmed, not completely hidden. Anyone who wants to edit .git/config
directly could do the same. At least in Windows, showing hidden
files/directories is a checkbox in the options GUI. To make my Mac's
Finder show .files, I would have to set an undocumented flag from the
command line. I'm not sure what the situation is in KDE/GNOME.

At the command line, dir /a shows all files, much like ls -a includes
files that begin with a . (dir /ah shows only hidden files. I suppose
the equivalent would be ls -d .*)

I'm not sure which tools Sebasitan uses to search, but my copy of grep
(native Win32) descends into hidden directories (which is one of the
reasons I switched from svn to git-svn the minute the first msysGit
preview with git-svn support was available).

I do note that my other search tool (Google Desktop) does not search
hidden directories.

>  Well, I guess you can always use Bash/vi ;-)

That too.

Peter Harris

Reply via email to