Git 2.4.1
[git/git.git] / Documentation / RelNotes / 2.4.1.txt
1 Git v2.4.1 Release Notes
2 ========================
4 Fixes since v2.4
5 ----------------
7 * The usual "git diff" when seeing a file turning into a directory
8 showed a patchset to remove the file and create all files in the
9 directory, but "git diff --no-index" simply refused to work. Also,
10 when asked to compare a file and a directory, imitate POSIX "diff"
11 and compare the file with the file with the same name in the
12 directory, instead of refusing to run.
14 * The default $HOME/.gitconfig file created upon "git config --global"
15 that edits it had incorrectly spelled and
16 entries in it.
18 * "git commit --date=now" or anything that relies on approxidate lost
19 the daylight-saving-time offset.
21 * "git cat-file bl $blob" failed to barf even though there is no
22 object type that is "bl".
24 * Teach the codepaths that read .gitignore and .gitattributes files
25 that these files encoded in UTF-8 may have UTF-8 BOM marker at the
26 beginning; this makes it in line with what we do for configuration
27 files already.
29 * Access to objects in repositories that borrow from another one on a
30 slow NFS server unnecessarily got more expensive due to recent code
31 becoming more cautious in a naive way not to lose objects to pruning.
33 * We avoid setting core.worktree when the repository location is the
34 ".git" directory directly at the top level of the working tree, but
35 the code misdetected the case in which the working tree is at the
36 root level of the filesystem (which arguably is a silly thing to
37 do, but still valid).
39 Also contains typofixes, documentation updates and trivial code
40 clean-ups.