Documentation / RelNotes / 1.7.8.txton commit write_pack_header(): a helper function (c0ad465)
   1Git v1.7.8 Release Notes (draft)
   2================================
   3
   4Updates since v1.7.7
   5--------------------
   6
   7 * Some git-svn, git-gui, git-p4 (in contrib) and msysgit updates.
   8
   9 * Updates to bash completion scripts.
  10
  11 * The build procedure has been taught to take advantage of computed
  12   dependency automatically when the complier supports it.
  13
  14 * The date parser now accepts timezone designators that lack minutes
  15   part and also has a colon between "hh:mm".
  16
  17 * The contents of the /etc/mailname file, if exists, is used as the
  18   default value of the hostname part of the committer/author e-mail.
  19
  20 * "git am" learned how to read from patches generated by Hg.
  21
  22 * "git archive" talking with a remote repository can report errors
  23   from the remote side in a more informative way.
  24
  25 * "git branch" learned an explicit --list option to ask for branches
  26   listed, optionally with a glob matching pattern to limit its output.
  27
  28 * "git check-attr" learned "--cached" option to look at .gitattributes
  29   files from the index, not from the working tree.
  30
  31 * Variants of "git cherry-pick" and "git revert" that take multiple
  32   commits learned to "--continue".
  33
  34 * "git daemon" gives more human readble error messages to clients
  35   using ERR packets when appropriate.
  36
  37 * Errors at the network layer is logged by "git daemon".
  38
  39 * "git diff" learned "--minimal" option to spend extra cycles to come
  40   up with a minimal patch output.
  41
  42 * "git diff" learned "--function-context" option to show the whole
  43   function as context that was affected by a change.
  44
  45 * "git difftool" can be told to skip launching the tool for a path by
  46   answering 'n' to its prompt.
  47
  48 * "git fetch" learned to honor transfer.fsckobjects configuration to
  49   validate the objects that were received from the other end, just like
  50   "git receive-pack" (the receiving end of "git push") does.
  51
  52 * "git fetch" makes sure that the set of objects it received from the
  53   other end actually completes the history before updating the refs.
  54   "git receive-pack" (the receiving end of "git push") learned to do the
  55   same.
  56
  57 * "git fetch" learned that fetching/cloning from a regular file on the
  58   filesystem is not necessarily a request to unpack a bundle file; the
  59   file could be ".git" with "gitdir: <path>" in it.
  60
  61 * "git for-each-ref" learned "%(contents:subject)", "%(contents:body)"
  62   and "%(contents:signature)". The last one is useful for signed tags.
  63
  64 * "git grep" used to incorrectly pay attention to .gitignore files
  65   scattered in the directory it was working in even when "--no-index"
  66   option was used. It no longer does this. The "--exclude-standard"
  67   option needs to be given to explicitly activate the ignore
  68   mechanism.
  69
  70 * "git grep" learned "--untracked" option, where given patterns are
  71    searched in untracked (but not ignored) files as well as tracked
  72    files in the working tree, so that matches in new but not yet
  73    added files do not get missed.
  74
  75 * The recursive merge backend no longer looks for meaningless
  76   existing merges in submodules unless in the outermost merge.
  77
  78 * "git log" and friends learned "--children" option.
  79
  80 * "git ls-remote" learned to respond to "-h"(elp) requests.
  81
  82 * "git merge" learned the "--edit" option to allow users to edit the
  83   merge commit log message.
  84
  85 * "git rebase -i" can be told to use special purpose editor suitable
  86   only for its insn sheet via sequence.editor configuration variable.
  87
  88 * "git send-email" learned to respond to "-h"(elp) requests.
  89
  90 * "git send-email" allows the value given to sendemail.aliasfile to begin
  91   with "~/" to refer to the $HOME directory.
  92
  93 * "git send-email" forces use of Authen::SASL::Perl to work around
  94   issues between Authen::SASL::Cyrus and AUTH PLAIN/LOGIN.
  95
  96 * "git stash" learned "--include-untracked" option to stash away
  97   untracked/ignored cruft from the working tree.
  98
  99 * "git submodule clone" does not leak an error message to the UI
 100   level unnecessarily anymore.
 101
 102 * "git submodule update" learned to honor "none" as the value for
 103   submodule.<name>.update to specify that the named submodule should
 104   not be checked out by default.
 105
 106 * When populating a new submodule directory with "git submodule init",
 107   the $GIT_DIR metainformation directory for submodules is created inside
 108   $GIT_DIR/modules/<name>/ directory of the superproject and referenced
 109   via the gitfile mechanism. This is to make it possible to switch
 110   between commits in the superproject that has and does not have the
 111   submodule in the tree without re-cloning.
 112
 113 * "mediawiki" remote helper can interact with (surprise!) MediaWiki
 114   with "git fetch" & "git push".
 115
 116 * "gitweb" leaked unescaped control characters from syntax hiliter
 117   outputs.
 118
 119 * "gitweb" can be told to give custom string at the end of the HTML
 120   HEAD element.
 121
 122 * "gitweb" now has its own manual pages.
 123
 124
 125Also contains other documentation updates and minor code cleanups.
 126
 127
 128Fixes since v1.7.7
 129------------------
 130
 131Unless otherwise noted, all fixes in the 1.7.7.X maintenance track are
 132included in this release.
 133
 134 * We used to drop error messages from libcurl on certain kinds of
 135   errors.
 136   (merge be22d92eac8 jn/maint-http-error-message later to maint).
 137
 138 * Error report from smart HTTP transport, when the connection was
 139   broken in the middle of a transfer, showed a useless message on
 140   a corrupt packet.
 141   (merge 6cdf022 sp/smart-http-failure later to maint).
 142
 143 * HTTP transport did not use pushurl correctly, and also did not tell
 144   what host it is trying to authenticate with when asking for
 145   credentials.
 146   (merge deba493 jk/http-auth later to maint).
 147
 148 * "git branch -m/-M" advertised to update RENAME_REF ref in the
 149   commit log message that introduced the feature but not anywhere in
 150   the documentation, and never did update such a ref anyway. This
 151   undocumented misfeature that did not exist has been excised.
 152   (merge b0eab01 jc/maint-remove-renamed-ref later to maint).
 153
 154 * Adding many refs to the local repository in one go (e.g. "git fetch"
 155   that fetches many tags) and looking up a ref by name in a repository
 156   with too many refs were unnecessarily slow.
 157   (merge 17d68a54d jp/get-ref-dir-unsorted later to maint).
 158
 159 * "git fetch --prune" was unsafe when used with refspecs from the
 160   command line.
 161   (merge e8c1e6c cn/fetch-prune later to maint).
 162
 163 * Report from "git commit" on untracked files was confused under
 164   core.ignorecase option.
 165   (merge 2548183b jk/name-hash-dirent later to maint).
 166
 167 * The attribute mechanism did not use case insensitive match when
 168   core.ignorecase was set.
 169   (merge 6eba621 bc/attr-ignore-case later to maint).
 170
 171 * "git bisect" did not notice when it failed to update the working tree
 172   to the next commit to be tested.
 173   (merge 1acf11717 js/bisect-no-checkout later to maint).
 174
 175 * "git config --bool --get-regexp" failed to separate the variable name
 176   and its value "true" when the variable is defined without "= true".
 177   (merge 880e3cc mm/maint-config-explicit-bool-display later to maint).
 178
 179 * "git remote rename $a $b" were not careful to match the remote name
 180   against $a (i.e. source side of the remote nickname).
 181   (merge b52d00aed mz/remote-rename later to maint).
 182
 183 * "git diff --[num]stat" used to use the number of lines of context
 184   different from the default, potentially giving different results from
 185   "git diff | diffstat" and confusing the users.
 186   (merge f01cae918 jc/maint-diffstat-numstat-context later to maint).
 187
 188 * "git merge" did not understand ":/<pattern>" as a way to name a commit.
 189
 190 * "git mergetool" learned to use its arguments as pathspec, not a path to
 191   the file that may not even have any conflict.
 192   (merge 6d9990a jm/mergetool-pathspec later to maint).
 193
 194 * "git pull" and "git rebase" did not work well even when GIT_WORK_TREE is
 195   set correctly with GIT_DIR if the current directory is outside the working
 196   tree.
 197   (merge 035b5bf jk/pull-rebase-with-work-tree later to maint).
 198
 199 " "git push" on the receiving end used to call post-receive and post-update
 200   hooks for attempted removal of non-existing refs.
 201   (merge 160b81ed ph/push-to-delete-nothing later to maint).
 202
 203 * "git send-email" did not honor the configured hostname when restarting
 204   the HELO/EHLO exchange after switching TLS on.
 205   (merge 155b940 md/smtp-tls-hello-again later to maint).
 206
 207 * "gitweb" used to produce a non-working link while showing the contents
 208   of a blob, when JavaScript actions are enabled.
 209   (merge 2b07ff3ff ps/gitweb-js-with-lineno later to maint).
 210
 211 * The logic to filter out forked projects in the project list in
 212   "gitweb" was broken for some time.
 213   (merge 53c632f jm/maint-gitweb-filter-forks-fix later to maint).
 214
 215---
 216exec >/var/tmp/1
 217O=v1.7.7.1-487-g4801546
 218echo O=$(git describe --always master)
 219git log --first-parent --oneline --reverse ^$O master
 220echo
 221git shortlog --no-merges ^$O master