File: day_309__filenames.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (17 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Today was a nice reminder that there are no end of bugs lurking in filename
handling code. 

First, fixed a bug that prevented git-annex from adding
filenames starting with ":", because that is a special character to git.

Second, discovered that git 1.8.4 rc0 has changed `git-cat-file --batch` in
a way that makes it impossible to operate on filenames containing spaces.
This is, IMHO, a reversion, so hopefully my
[bug report](http://bugs.debian.org/718517) will get it fixed.

Put in a workaround for that, although using the broken version of git
with a direct mode repository with lots of spaces in file or directory
names is going to really slow down git-annex, since it often has to fork a
new git cat-file process for each file.

Release day tomorrow..