Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  GIT 1.5.4.2
  • Loading branch information
gitster committed Feb 17, 2008
2 parents f8732c5 + e5fc9a0 commit 7cb97da
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 11 deletions.
17 changes: 17 additions & 0 deletions Documentation/RelNotes-1.5.4.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
GIT v1.5.4.1 Release Notes
==========================

Fixes since v1.5.4
------------------

* "git-commit -C $tag" used to work but rewrite in C done in
1.5.4 broke it.

* An entry in the .gitattributes file that names a pattern in a
subdirectory of the directory it is in did not match
correctly (e.g. pattern "b/*.c" in "a/.gitattributes" should
match "a/b/foo.c" but it didn't).

* Customized color specification was parsed incorrectly when
numeric color values are used. This was fixed in 1.5.4.1.

43 changes: 43 additions & 0 deletions Documentation/RelNotes-1.5.4.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
GIT v1.5.4.2 Release Notes
==========================

Fixes since v1.5.4
------------------

* The configuration parser was not prepared to see string
valued variables misspelled as boolean and segfaulted.

* Temporary files left behind due to interrupted object
transfers were not cleaned up with "git prune".

* "git config --unset" was confused when the unset variables
were spelled with continuation lines in the config file.

* The merge message detection in "git cvsimport" did not catch
a message that began with "Merge...".

* "git status" suggests "git rm --cached" for unstaging the
earlier "git add" before the initial commit.

* "git status" output was incorrect during a partial commit.

* "git bisect" refused to start when the HEAD was detached.

* "git bisect" allowed a wildcard character in the commit
message expanded while writing its log file.

* Manual pages were not formatted correctly with docbook xsl
1.72; added a workaround.

* "git-commit -C $tag" used to work but rewrite in C done in
1.5.4 broke it. This was fixed in 1.5.4.1.

* An entry in the .gitattributes file that names a pattern in a
subdirectory of the directory it is in did not match
correctly (e.g. pattern "b/*.c" in "a/.gitattributes" should
match "a/b/foo.c" but it didn't). This was fixed in 1.5.4.1.

* Customized color specification was parsed incorrectly when
numeric color values are used. This was fixed in 1.5.4.1.

* http transport misbehaved when linked with curl-gnutls.
13 changes: 3 additions & 10 deletions GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GVF=GIT-VERSION-FILE
DEF_VER=v1.5.4.GIT
DEF_VER=v1.5.4.2.GIT

LF='
'
Expand All @@ -15,7 +15,8 @@ elif test -d .git &&
VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
case "$VN" in
*$LF*) (exit 1) ;;
v[0-9]*) : happy ;;
v[0-9]*)
git diff-index --quiet HEAD || VN="$VN-dirty" ;;
esac
then
VN=$(echo "$VN" | sed -e 's/-/./g');
Expand All @@ -25,14 +26,6 @@ fi

VN=$(expr "$VN" : v*'\(.*\)')

dirty=$(sh -c 'git diff-index --name-only HEAD' 2>/dev/null) || dirty=
case "$dirty" in
'')
;;
*)
VN="$VN-dirty" ;;
esac

if test -r $GVF
then
VC=$(sed -e 's/^GIT_VERSION = //' <$GVF)
Expand Down
2 changes: 1 addition & 1 deletion RelNotes

0 comments on commit 7cb97da

Please sign in to comment.