Skip to content

Commit

Permalink
Merge branch 'maint' into jc/verify-pack-stat
Browse files Browse the repository at this point in the history
* maint: (95 commits)
  verify-pack -v: do not report "chain length 0"
  t5510: harden the way verify-pack is used
  gitweb/README: Document $base_url
  Documentation: git submodule: add missing options to synopsis
  Better usage string for reflog.
  hg-to-git: don't import the unused popen2 module
  send-email: remove debug trace
  config: Keep inner whitespace verbatim
  GIT 1.6.4
  GIT 1.6.3.4
  config.txt: document add.ignore-errors
  request-pull: allow ls-remote to notice remote.$nickname.uploadpack
  Update the documentation of the raw diff output format
  git-rerere.txt: Clarify ambiguity of the config variable
  t9143: do not fail if Compress::Zlib is missing
  Trivial path quoting fixes in git-instaweb
  GIT 1.6.4-rc3
  Documentation/config.txt: a variable can be defined on the section header line
  git svn: make minimize URL more reliable over http(s)
  Disable asciidoc 8.4.1+ semantics for `{plus}` and friends
  ...
  • Loading branch information
Junio C Hamano committed Aug 8, 2009
2 parents c9c3c67 + 5dc36a5 commit 7ecc9b1
Show file tree
Hide file tree
Showing 85 changed files with 1,381 additions and 457 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ endif
#

ifdef ASCIIDOC8
ASCIIDOC_EXTRA += -a asciidoc7compatible
ASCIIDOC_EXTRA += -a asciidoc7compatible -a no-inline-literal
endif
ifdef DOCBOOK_XSL_172
ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
Expand Down
36 changes: 36 additions & 0 deletions Documentation/RelNotes-1.6.3.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
GIT v1.6.3.4 Release Notes
==========================

Fixes since v1.6.3.3
--------------------

* "git add --no-ignore-errors" did not override configured
add.ignore-errors configuration.

* "git apply --whitespace=fix" did not fix trailing whitespace on an
incomplete line.

* "git branch" opened too many commit objects unnecessarily.

* "git checkout -f $commit" with a path that is a file (or a symlink) in
the work tree to a commit that has a directory at the path issued an
unnecessary error message.

* "git diff -c/--cc" was very inefficient in coalescing the removed lines
shared between parents.

* "git diff -c/--cc" showed removed lines at the beginning of a file
incorrectly.

* "git remote show nickname" did not honor configured
remote.nickname.uploadpack when inspecting the branches at the remote.

* "git request-pull" when talking to the terminal for a preview
showed some of the output in the pager.

* "git request-pull start nickname [end]" did not honor configured
remote.nickname.uploadpack when it ran git-ls-remote against the remote
repository to learn the current tip of branches.

Includes other documentation updates and minor fixes.

84 changes: 69 additions & 15 deletions Documentation/RelNotes-1.6.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ branch pointed at by its HEAD, gets a large warning. You can choose what
should happen upon such a push by setting the configuration variable
receive.denyDeleteCurrent in the receiving repository.

When the user does not tell "git push" what to push, it has always
pushed matching refs. For some people it is unexpected, and a new
configuration variable push.default has been introduced to allow
changing a different default behaviour. To advertise the new feature,
a big warning is issued if this is not configured and a git push without
arguments is attempted.


Updates since v1.6.3
--------------------
Expand All @@ -38,26 +31,67 @@ Updates since v1.6.3
* gitweb Perl style clean-up.

* git-svn updates, including a new --authors-prog option to map author
names by invoking an external program.
names by invoking an external program, 'git svn reset' to unwind
'git svn fetch', support for more than one branches, documenting
of the useful --minimize-url feature, new "git svn gc" command, etc.

(portability)

* We feed iconv with "UTF-8" instead of "utf8"; the former is
understood more widely.
understood more widely. Similarly updated test scripts to use
encoding names more widely understood (e.g. use "ISO8859-1" instead
of "ISO-8859-1").

* Various portability fixes/workarounds for different vintages of
SunOS, IRIX, and Windows.

* Git-over-ssh transport on Windows supports PuTTY plink and TortoisePlink.

(performance)

* Many repeated use of lstat() are optimized out in "checkout" codepath.

* git-status (and underlying git-diff-index --cached) are optimized
to take advantage of cache-tree information in the index.

(usability, bells and whistles)

* "git add --edit" lets users edit the whole patch text to fine-tune what
is added to the index.

* "git log --graph" draws graphs more compactly by using horizonal lines
* "git am" accepts StGIT series file as its input.

* "git bisect skip" skips to a more randomly chosen place in the hope
to avoid testing a commit that is too close to a commit that is
already known to be untestable.

* "git cvsexportcommit" learned -k option to stop CVS keywords expansion

* "git fast-export" learned to handle history simplification more
gracefully.

* "git fast-export" learned an option --tag-of-filtered-object to handle
dangling tags resulting from history simplification more usefully.

* "git grep" learned -p option to show the location of the match using the
same context hunk marker "git diff" uses.

* https transport can optionally be told that the used client
certificate is password protected, in which case it asks the
password only once.

* "git imap-send" is IPv6 aware.

* "git log --graph" draws graphs more compactly by using horizontal lines
when able.

* "git log --decorate" shows shorter refnames by stripping well-known
refs/* prefix.

* "git push $name" honors remote.$name.pushurl if present before
using remote.$name.url. In other words, the URL used for fetching
and pushing can be different.

* "git send-email" understands quoted aliases in .mailrc files (might
have to be backported to 1.6.3.X).

Expand All @@ -69,10 +103,17 @@ Updates since v1.6.3
* "add" and "update" subcommands to "git submodule" learned --reference
option to use local clone with references.

* "git submodule update" learned --rebase option to update checked
out submodules by rebasing the local changes.

* "gitweb" can optionally use gravatar to adorn author/committer names.

(developers)

* A major part of the "git bisect" wrapper has moved to C.

* Formatting with the new version of AsciiDoc 8.4.1 is now supported.

Fixes since v1.6.3
------------------

Expand All @@ -82,12 +123,25 @@ release, unless otherwise noted.
Here are fixes that this release has, but have not been backported to
v1.6.3.X series.

* "git diff-tree -r -t" used to omit new or removed directories from
the output. df533f3 (diff-tree -r -t: include added/removed
directories in the output, 2009-06-13) may need to be cherry-picked
to backport this fix.

* The way Git.pm sets up a Repository object was not friendly to callers
that chdir around. It now internally records the repository location
as an absolute path when autodetected.

---
exec >/var/tmp/1
echo O=$(git describe master)
O=v1.6.3.1-168-g23807fa
git shortlog --no-merges $O..master ^maint
* Removing a section with "git config --remove-section", when its
section header has a variable definition on the same line, lost
that variable definition.

* "git rebase -p --onto" used to always leave side branches of a merge
intact, even when both branches are subject to rewriting.

* "git repack" used to faithfully follow grafts and considered true
parents recorded in the commit object unreachable from the commit.
After such a repacking, you cannot remove grafts without corrupting
the repository.

* "git send-email" did not detect erroneous loops in alias expansion.
47 changes: 46 additions & 1 deletion Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ There is also a case insensitive alternative `[section.subsection]` syntax.
In this syntax, subsection names follow the same restrictions as for section
names.

All the other lines are recognized as setting variables, in the form
All the other lines (and the remainder of the line after the section
header) are recognized as setting variables, in the form
'name = value'. If there is no equal sign on the line, the entire line
is taken as 'name' and the variable is recognized as boolean "true".
The variable names are case-insensitive and only alphanumeric
Expand Down Expand Up @@ -1387,6 +1388,50 @@ rerere.enabled::
default enabled if you create `rr-cache` directory under
`$GIT_DIR`, but can be disabled by setting this option to false.

sendemail.identity::
A configuration identity. When given, causes values in the
'sendemail.<identity>' subsection to take precedence over
values in the 'sendemail' section. The default identity is
the value of 'sendemail.identity'.

sendemail.smtpencryption::
See linkgit:git-send-email[1] for description. Note that this
setting is not subject to the 'identity' mechanism.

sendemail.smtpssl::
Deprecated alias for 'sendemail.smtpencryption = ssl'.

sendemail.<identity>.*::
Identity-specific versions of the 'sendemail.*' parameters
found below, taking precedence over those when the this
identity is selected, through command-line or
'sendemail.identity'.

sendemail.aliasesfile::
sendemail.aliasfiletype::
sendemail.bcc::
sendemail.cc::
sendemail.cccmd::
sendemail.chainreplyto::
sendemail.confirm::
sendemail.envelopesender::
sendemail.from::
sendemail.multiedit::
sendemail.signedoffbycc::
sendemail.smtppass::
sendemail.suppresscc::
sendemail.suppressfrom::
sendemail.to::
sendemail.smtpserver::
sendemail.smtpserverport::
sendemail.smtpuser::
sendemail.thread::
sendemail.validate::
See linkgit:git-send-email[1] for description.

sendemail.signedoffcc::
Deprecated alias for 'sendemail.signedoffbycc'.

showbranch.default::
The default set of branches for linkgit:git-show-branch[1].
See linkgit:git-show-branch[1].
Expand Down
8 changes: 7 additions & 1 deletion Documentation/diff-format.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
The output format from "git-diff-index", "git-diff-tree",
Raw output format
-----------------

The raw output format from "git-diff-index", "git-diff-tree",
"git-diff-files" and "git diff --raw" are very similar.

These commands all compare two sets of things; what is
Expand All @@ -16,6 +19,9 @@ git-diff-tree [-r] <tree-ish-1> <tree-ish-2> [<pattern>...]::
git-diff-files [<pattern>...]::
compares the index and the files on the filesystem.

The "git-diff-tree" command begins its ouput by printing the hash of
what is being compared. After that, all the commands print one output
line per changed file.

An output line is formatted this way:

Expand Down
3 changes: 1 addition & 2 deletions Documentation/git-diff-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ omit diff output for unmerged entries and just show "Unmerged".
-q::
Remain silent even on nonexistent files

Output format
-------------

include::diff-format.txt[]


Expand Down
2 changes: 0 additions & 2 deletions Documentation/git-diff-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ include::diff-options.txt[]
'git-diff-index' say that all non-checked-out files are up
to date.

Output format
-------------
include::diff-format.txt[]

Operating Modes
Expand Down
3 changes: 1 addition & 2 deletions Documentation/git-diff-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ HEAD commits it finds, which is even more interesting.

in case you care).

Output format
-------------

include::diff-format.txt[]


Expand Down
3 changes: 1 addition & 2 deletions Documentation/git-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ include::diff-options.txt[]
the diff to the named paths (you can give directory
names and get diff for all files under them).

Output format
-------------

include::diff-format.txt[]

EXAMPLES
Expand Down
17 changes: 17 additions & 0 deletions Documentation/git-fast-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ when encountering a signed tag. With 'strip', the tags will be made
unsigned, with 'verbatim', they will be silently exported
and with 'warn', they will be exported, but you will see a warning.

--tag-of-filtered-object=(abort|drop|rewrite)::
Specify how to handle tags whose tagged objectis filtered out.
Since revisions and files to export can be limited by path,
tagged objects may be filtered completely.
+
When asking to 'abort' (which is the default), this program will die
when encountering such a tag. With 'drop' it will omit such tags from
the output. With 'rewrite', if the tagged object is a commit, it will
rewrite the tag to tag an ancestor commit (via parent rewriting; see
linkgit:git-rev-list[1])

-M::
-C::
Perform move and/or copy detection, as described in the
Expand Down Expand Up @@ -71,6 +82,12 @@ marks the same across runs.
allow that. So fake a tagger to be able to fast-import the
output.

[git-rev-list-args...]::
A list of arguments, acceptable to 'git-rev-parse' and
'git-rev-list', that specifies the specific objects and references
to export. For example, `master\~10..master` causes the
current master reference to be exported along with all objects
added since its 10th ancestor commit.

EXAMPLES
--------
Expand Down
22 changes: 15 additions & 7 deletions Documentation/git-format-patch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git format-patch' [-k] [(-o|--output-directory) <dir> | --stdout]
[--thread[=<style>]]
[--no-thread | --thread[=<style>]]
[(--attach|--inline)[=<boundary>] | --no-attach]
[-s | --signoff]
[-n | --numbered | -N | --no-numbered]
Expand Down Expand Up @@ -124,17 +124,25 @@ include::diff-options.txt[]
second part, with "Content-Disposition: inline".

--thread[=<style>]::
Add In-Reply-To and References headers to make the second and
subsequent mails appear as replies to the first. Also generates
the Message-Id header to reference.
--no-thread::
Controls addition of In-Reply-To and References headers to
make the second and subsequent mails appear as replies to the
first. Also controls generation of the Message-Id header to
reference.
+
The optional <style> argument can be either `shallow` or `deep`.
'shallow' threading makes every mail a reply to the head of the
series, where the head is chosen from the cover letter, the
`\--in-reply-to`, and the first patch mail, in this order. 'deep'
threading makes every mail a reply to the previous one. If not
specified, defaults to the 'format.thread' configuration, or `shallow`
if that is not set.
threading makes every mail a reply to the previous one.
+
The default is --no-thread, unless the 'format.thread' configuration
is set. If --thread is specified without a style, it defaults to the
style specified by 'format.thread' if any, or else `shallow`.
+
Beware that the default for 'git send-email' is to thread emails
itself. If you want 'git format-patch' to take care of hreading, you
will want to ensure that threading is disabled for 'git send-email'.

--in-reply-to=Message-Id::
Make the first mail (or all the mails with --no-thread) appear as a
Expand Down
7 changes: 6 additions & 1 deletion Documentation/git-pack-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ SYNOPSIS
[verse]
'git pack-objects' [-q] [--no-reuse-delta] [--delta-base-offset] [--non-empty]
[--local] [--incremental] [--window=N] [--depth=N] [--all-progress]
[--revs [--unpacked | --all]*] [--stdout | base-name] < object-list
[--revs [--unpacked | --all]*] [--stdout | base-name]
[--keep-true-parents] < object-list


DESCRIPTION
Expand Down Expand Up @@ -197,6 +198,10 @@ base-name::
to force the version for the generated pack index, and to force
64-bit index entries on objects located above the given offset.

--keep-true-parents::
With this option, parents that are hidden by grafts are packed
nevertheless.


Author
------
Expand Down
Loading

0 comments on commit 7ecc9b1

Please sign in to comment.