Re: git on MacOSX and files with decomposed utf-8 file names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 17, 2008, at 5:22 AM, Wincent Colaiuta wrote:

El 17/1/2008, a las 8:11, Mitch Tishmack escribió:

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).

Not only is it suboptimal, it's also not acceptable, plain and simple. If an individual wants to do that, sure, but it's simply not an appropriate solution in general for this problem. I certainly don't want to have to attach a disk image every time I want access to anything I keep in a git repo, nor do I want to be restricted to keeping everything within a certain filesystem on disk. Additionally, while I'm not certain it's impossible, it's certainly very difficult to attach a disk image without anybody logged into the system at the GUI, as diskarbitrationd won't be running.

-Kevin Ballard

--
Kevin Ballard
http://kevin.sb.org
kevin@xxxxxx
http://www.tildesoft.com


<<attachment: smime.p7s>>


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux