Documentation / RelNotes-1.6.1.txton commit Replace xmalloc/memset(0) pairs with xcalloc (19d4b41)
   1GIT v1.6.1 Release Notes
   2========================
   3
   4Updates since v1.6.0
   5--------------------
   6
   7When some commands (e.g. "git log", "git diff") spawn pager internally, we
   8used to make the pager the parent process of the git command that produces
   9output.  This meant that the exit status of the whole thing comes from the
  10pager, not the underlying git command.  We swapped the order of the
  11processes around and you will see the exit code from the command from now
  12on.
  13
  14(subsystems)
  15
  16* gitk can call out to git-gui to view "git blame" output; git-gui in turn
  17  can run gitk from its blame view.
  18
  19(portability)
  20
  21* ...
  22
  23(documentation)
  24
  25* ...
  26
  27(performance)
  28
  29* The underlying diff machinery to produce textual output has been
  30  optimized, which would result in faster "git blame" processing.
  31
  32* Most of the test scripts (but not the ones that try to run servers)
  33  can be run in parallel.
  34
  35* Bash completion of refnames in a repository with massive number of
  36  refs has been optimized.
  37
  38(usability, bells and whistles)
  39
  40* When you mistype a command name, git helpfully suggests what it guesses
  41  you might have meant to say.  help.autocorrect configuration can be set
  42  to a non-zero value to accept the suggestion when git can uniquely
  43  guess.
  44
  45* "git bisect" is careful about a user mistake and suggests testing of
  46  merge base first when good is not a strict ancestor of bad.
  47
  48* "git checkout --track origin/hack" used to be a syntax error.  It now
  49  DWIMs to create a corresponding local branch "hack", i.e. acts as if you
  50  said "git checkout --track -b hack origin/hack".
  51
  52* "git cherry-pick" can also utilize rerere for conflict resolution.
  53
  54* "git commit --author=$name" can look up author name from existing
  55  commits.
  56
  57* "git count-objects" reports the on-disk footprint for packfiles and
  58  their corresponding idx files.
  59
  60* "git daemon" learned --max-connections=<count> option.
  61
  62* "git diff" learned to mimic --suppress-blank-empty from GNU diff via a
  63  configuration option.
  64
  65* "git diff" learned to put more sensible hunk headers for Python and
  66  HTML contents.
  67
  68* "git diff" learned to vary the a/ vs b/ prefix depending on what are
  69  being compared, controlled by diff.mnemonicprefix configuration.
  70
  71* "git for-each-ref" learned "refname:short" token that gives an
  72  unambiguously abbreviated refname.
  73
  74* "git help" learned to use GIT_MAN_VIEWER environment variable before
  75  using "man" program.
  76
  77* "git imap-send" can optionally talk SSL.
  78
  79* "git index-pack" is more careful against disk corruption while
  80  completing a thin pack.
  81
  82* "git log --check" and "git log --exit-code" passes their underlying diff
  83  status with their exit status code.
  84
  85* "git log" learned --simplify-merges, a milder variant of --full-history;
  86  "gitk --simplify-merges" is easier to view than with --full-history.
  87
  88* "git log --pretty=format:" learned "%d" format element that inserts
  89  names of tags that point at the commit.
  90
  91* "git merge --squash" and "git merge --no-ff" into an unborn branch are
  92  noticed as user errors.
  93
  94* "git merge -s $strategy" can use a custom built strategy if you have a
  95  command "git-merge-$strategy" on your $PATH.
  96
  97* "git reflog expire branch" can be used in place of "git reflog expire
  98  refs/heads/branch".
  99
 100* "git submodule foreach" subcommand allows you to iterate over checked
 101  out submodules.
 102
 103* "git submodule sync" subcommands allows you to update the origin URL
 104  recorded in submodule directories from the toplevel .gitmodules file.
 105
 106(internal)
 107
 108* "git hash-object" learned to lie about the path being hashed, so that
 109  correct gitattributes processing can be done while hashing contents
 110  stored in a temporary file.
 111
 112Fixes since v1.6.0
 113------------------
 114
 115All of the fixes in v1.6.0.X maintenance series are included in this
 116release, unless otherwise noted.
 117
 118* "git add" and "git update-index" incorrectly allowed adding S/F when S
 119  is a tracked symlink that points at a directory D that has a path F in
 120  it (we still need to fix a similar nonsense when S is a submodule and F
 121  is a path in it).
 122
 123* "git diff --stdin" used to take two trees on a line and compared them,
 124  but we dropped support for such a use case long time ago.  This has
 125  been resurrected.
 126
 127* "git filter-branch" failed to rewrite a tag name with slashes in it.
 128
 129* "git push --tags --all $there" failed with generic usage message without
 130  telling saying these two options are incompatible.
 131
 132* "git log --author/--committer" match used to potentially match the
 133  timestamp part, exposing internal implementation detail.  Also these did
 134  not work with --fixed-strings match at all.
 135
 136--
 137exec >/var/tmp/1
 138O=v1.6.0.2-295-g34a5d35
 139echo O=$(git describe master)
 140git shortlog --no-merges $O..master ^maint