File: day_309__filenames.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
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..