Re: git on MacOSX and files with decomposed utf-8 file names
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Jan 17, 2008, 10:22 UTC
- Message-ID
- <17846BF5-1215-4C28-8BBC-2C745A053156@wincent.com>
- In-Reply-To
- <AD012876-3B4A-41EE-8CCB-F60D5C812903@gmail.com>
El 17/1/2008, a las 8:11, Mitch Tishmack escribió:
Show 30 quoted lines
> I was going to post this earlier, but wanted to search the archives > first. Here are the commands assuming you don't want to or can't > partition a drive and format as ufs (I don't care for HFS+ much). I > can't believe I didn't find the command in the git list archives, so > voilà: > > $ hdiutil create -size 300m -fs UFS foo.dmg > ............................................................................... > created: /Users/mitch/foo.dmg > $ hdiutil attach foo.dmg > /dev/disk2 GUID_partition_scheme > /dev/disk2s1 Apple_UFS /Volumes/untitled > $ cd /Volumes/untitled && git clone git://git.kernel.org/pub/scm/git/ > git.git > ... snipped ... > $ cd git && git status > # On branch master > nothing to commit (working directory clean) > > After git clone in HFS+ land... > $ git status > # On branch master > # Untracked files: > # (use "git add <file>..." to include in what will be committed) > # > # gitweb/test/Märchen > nothing added to commit but untracked files present (use "git add" > to track) > > Should I just add this to the wiki?
Definitely.
> Then we can all go back to ignoring the insane filesystems.
While it's a nice workaround, it really is just that (a workaround) because performance will be suboptimal in a repository running on a disk image (and many of switched to Git because of its speed).
Cheers, Wincent