Git v1.8.0.2

The latest maintenance release Git v1.8.0.2 is now available at
the usual places.

The release tarballs are found at:

and their SHA-1 checksums are:

1e1640794596da40f35194c29a8cc4e41c6b4f6d  git-
6b9e14c5b19b2e27605014252febd61a700012a3  git-htmldocs-
ce0673256ce90451269a82a2464eab060adbfec6  git-manpages-

Also the following public repositories all have a copy of the v1.8.0.2
tag and the maint branch that the tag points at:

url = git://
url =
url = git://
url = git://
url =

Git v1.8.0.2 Release Notes

Fixes since v1.8.0.1

  • Various codepaths have workaround for a common misconfiguration to
    spell “UTF-8” as “utf8”, but it was not used uniformly. Most
    notably, mailinfo (which is used by “git am”) lacked this support.

  • We failed to mention a file without any content change but whose
    permission bit was modified, or (worse yet) a new file without any
    content in the “git diff –stat” output.

  • When “–stat-count” hides a diffstat for binary contents, the total
    number of added and removed lines at the bottom was computed

  • When “–stat-count” hides a diffstat for unmerged paths, the total
    number of affected files at the bottom of the “diff –stat” output
    was computed incorrectly.

  • “diff –shortstat” miscounted the total number of affected files
    when there were unmerged paths.

  • “git p4” used to try expanding malformed “$keyword$” that spans
    across multiple lines.

  • “git update-ref -d –deref SYM” to delete a ref through a symbolic
    ref that points to it did not remove it correctly.

  • Syntax highlighting in “gitweb” was not quite working.

Also contains other minor fixes and documentation updates.

Changes since v1.8.0.1 are as follows:

Antoine Pelisse (1):
      Fix typo in remote set-head usage

Eric S. Raymond (1):
      doc/fast-import: clarify how content states are built

Johan Herland (2):
      t1400-update-ref: Add test verifying bug with symrefs in delete_ref()
      Fix failure to delete a packed ref through a symref

Junio C Hamano (13):
      reencode_string(): introduce and use same_encoding()
      test: add failing tests for "diff --stat" to t4049
      diff --stat: status of unmodified pair in diff-q is not zero
      diff --stat: use "file" temporary variable to refer to data->files[i]
      diff --stat: move the "total count" logic to the last loop
      diff --stat: do not count "unmerged" entries
      diff --shortstat: do not count "unmerged" entries
      Documentation/git-push.txt: clarify the "push from satellite" workflow
      Start preparing for
      t4049: refocus tests
      Update draft release notes to
      git(1): remove a defunct link to "list of authors"

Linus Torvalds (1):
      Fix "git diff --stat" for interesting - but empty - file changes

Mark Szepieniec (1):
      Documentation: improve phrasing in git-push.txt

Matthieu Moy (2):
      git-remote-mediawiki: escape ", \, and LF in file names
      git-fast-import.txt: improve documentation for quoted paths

Nguyễn Thái Ngọc Duy (1):
      compat/fnmatch: fix off-by-one character class's length check

Paul Gortmaker (1):
      Makefile: hide stderr of curl-config test

Pete Wyckoff (1):
      git p4: RCS expansion should not span newlines

Ralf Thielow (1):
      completion: add options --single-branch and --branch to "git clone"

Richard Hubbell (1):
      gitweb.perl: fix %highlight_ext mappings

Sébastien Loriot (1):
      Documentation/git-stash.txt: add a missing verb

W. Trevor King (1):
      git-submodule: wrap branch option with "<>" in usage strings.

Junio C Hamano wrote on 10 Dec 2012