Skip to content

Commit

Permalink
Merge branch 'master' into db/fetch-pack
Browse files Browse the repository at this point in the history
There's a number of tricky conflicts between master and
this topic right now due to the rewrite of builtin-push.
Junio must have handled these via rerere; I'd rather not
deal with them again so I'm pre-merging master into the
topic.  Besides this topic somehow started to depend on
the strbuf series that was in next, but is now in master.
It no longer compiles on its own without the strbuf API.

* master: (184 commits)
  Whip post 1.5.3.4 maintenance series into shape.
  Minor usage update in setgitperms.perl
  manual: use 'URL' instead of 'url'.
  manual: add some markup.
  manual: Fix example finding commits referencing given content.
  Fix wording in push definition.
  Fix some typos, punctuation, missing words, minor markup.
  manual: Fix or remove em dashes.
  Add a --dry-run option to git-push.
  Add a --dry-run option to git-send-pack.
  Fix in-place editing functions in convert.c
  instaweb: support for Ruby's WEBrick server
  instaweb: allow for use of auto-generated scripts
  Add 'git-p4 commit' as an alias for 'git-p4 submit'
  hg-to-git speedup through selectable repack intervals
  git-svn: respect Subversion's [auth] section configuration values
  gtksourceview2 support for gitview
  fix contrib/hooks/post-receive-email hooks.recipients error message
  Support cvs via git-shell
  rebase -i: use diff plumbing instead of porcelain
  ...

Conflicts:

	Makefile
	builtin-push.c
	rsh.c
  • Loading branch information
Shawn O. Pearce committed Oct 16, 2007
2 parents ccfc02a + d55e7c3 commit 2e13e5d
Show file tree
Hide file tree
Showing 164 changed files with 4,642 additions and 2,998 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ git-clone
git-commit
git-commit-tree
git-config
git-convert-objects
git-count-objects
git-cvsexportcommit
git-cvsimport
Expand Down Expand Up @@ -172,3 +171,6 @@ config.status
config.mak.autogen
config.mak.append
configure
tags
TAGS
cscope*
31 changes: 31 additions & 0 deletions Documentation/RelNotes-1.5.3.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
GIT v1.5.3.3 Release Notes
==========================

Fixes since v1.5.3.2
--------------------

* git-quiltimport did not like it when a patch described in the
series file does not exist.

* p4 importer missed executable bit in some cases.

* The default shell on some FreeBSD did not execute the
argument parsing code correctly and made git unusable.

* git-svn incorrectly spawned pager even when the user user
explicitly asked not to.

* sample post-receive hook overquoted the envelope sender
value.

* git-am got confused when the patch contained a change that is
only about type and not contents.

* git-mergetool did not show our and their version of the
conflicted file when started from a subdirectory of the
project.

* git-mergetool did not pass correct options when invoking diff3.

* git-log sometimes invoked underlying "diff" machinery
unnecessarily.
35 changes: 35 additions & 0 deletions Documentation/RelNotes-1.5.3.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
GIT v1.5.3.4 Release Notes
==========================

Fixes since v1.5.3.3
--------------------

* Change to "git-ls-files" in v1.5.3.3 that was introduced to support
partial commit of removal better had a segfaulting bug, which was
diagnosed and fixed by Keith and Carl.

* Performance improvements for rename detection has been backported
from the 'master' branch.

* "git-for-each-ref --format='%(numparent)'" was not working
correctly at all, and --format='%(parent)' was not working for
merge commits.

* Sample "post-receive-hook" incorrectly sent out push
notification e-mails marked as "From: " the committer of the
commit that happened to be at the tip of the branch that was
pushed, not from the person who pushed.

* "git-remote" did not exit non-zero status upon error.

* "git-add -i" did not respond very well to EOF from tty nor
bogus input.

* "git-rebase -i" squash subcommand incorrectly made the
author of later commit the author of resulting commit,
instead of taking from the first one in the squashed series.

* "git-stash apply --index" was not documented.

* autoconfiguration learned that "ar" command is found as "gas" on
some systems.
25 changes: 25 additions & 0 deletions Documentation/RelNotes-1.5.3.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
GIT v1.5.3.5 Release Notes
==========================

Fixes since v1.5.3.4
--------------------

* "git-config" silently ignored options after --list; now it wilh
error out with a usage message.

* "git-config --file" failed if the argument used a relative path
as it changed directories before opening the file.

* "git-add -i" did not handle single line hunks correctly.

* "git-log --follow" did not work unless diff generation (e.g. -p)
was also requested.

* "git-log" printed extra newlines between commits when a diff
was generated internally (e.g. -S or --follow) but not displayed.

* Documention updates for supported (but previously undocumented)
options of "git-archive" and "git-reflog".

* "make clean" no longer deletes the configure script that ships
with the git tarball, making multiple architecture builds easier.
21 changes: 21 additions & 0 deletions Documentation/RelNotes-1.5.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,32 @@ GIT v1.5.4 Release Notes
Updates since v1.5.3
--------------------

* git-reset is now built-in.

* git-send-email can optionally talk over ssmtp and use SMTP-AUTH.

* git-rebase learned --whitespace option.

* git-remote knows --mirror mode.

* git-merge can call the "post-merge" hook.

* git-pack-objects can optionally run deltification with multiple threads.

* git-archive can optionally substitute keywords in files marked with
export-subst attribute.

* Various Perforce importer updates.

Fixes since v1.5.3
------------------

All of the fixes in v1.5.3 maintenance series are included in
this release, unless otherwise noted.

--
exec >/var/tmp/1
O=v1.5.3.2-99-ge4b2890
echo O=`git describe refs/heads/master`
git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint

1 change: 0 additions & 1 deletion Documentation/cmd-list.perl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ sub format_one {
git-commit mainporcelain
git-commit-tree plumbingmanipulators
git-config ancillarymanipulators
git-convert-objects ancillarymanipulators
git-count-objects ancillaryinterrogators
git-cvsexportcommit foreignscminterface
git-cvsimport foreignscminterface
Expand Down
25 changes: 22 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ core.worktree::
Set the path to the working tree. The value will not be
used in combination with repositories found automatically in
a .git directory (i.e. $GIT_DIR is not set).
This can be overriden by the GIT_WORK_TREE environment
This can be overridden by the GIT_WORK_TREE environment
variable and the '--work-tree' command line option.

core.logAllRefUpdates::
Expand Down Expand Up @@ -338,6 +338,12 @@ branch.<name>.merge::
branch.<name>.merge to the desired branch, and use the special setting
`.` (a period) for branch.<name>.remote.

branch.<name>.mergeoptions::
Sets default options for merging into branch <name>. The syntax and
supported options are equal to that of gitlink:git-merge[1], but
option values containing whitespace characters are currently not
supported.

clean.requireForce::
A boolean to make git-clean do nothing unless given -f or -n. Defaults
to false.
Expand Down Expand Up @@ -440,6 +446,19 @@ gc.aggressiveWindow::
algorithm used by 'git gc --aggressive'. This defaults
to 10.

gc.auto::
When there are approximately more than this many loose
objects in the repository, `git gc --auto` will pack them.
Some Porcelain commands use this command to perform a
light-weight garbage collection from time to time. Setting
this to 0 disables it.

gc.autopacklimit::
When there are more than this many packs that are not
marked with `*.keep` file in the repository, `git gc
--auto` consolidates them into one larger pack. Setting
this to 0 disables this.

gc.packrefs::
`git gc` does not run `git pack-refs` in a bare repository by
default so that older dumb-transport clients can still fetch
Expand Down Expand Up @@ -580,7 +599,7 @@ merge.summary::

merge.tool::
Controls which merge resolution program is used by
gitlink:git-mergetool[l]. Valid values are: "kdiff3", "tkdiff",
gitlink:git-mergetool[1]. Valid values are: "kdiff3", "tkdiff",
"meld", "xxdiff", "emerge", "vimdiff", "gvimdiff", and "opendiff".

merge.verbosity::
Expand All @@ -589,7 +608,7 @@ merge.verbosity::
message if conflicts were detected. Level 1 outputs only
conflicts, 2 outputs conflicts and file changes. Level 5 and
above outputs debugging information. The default is level 2.
Can be overriden by 'GIT_MERGE_VERBOSITY' environment variable.
Can be overridden by 'GIT_MERGE_VERBOSITY' environment variable.

merge.<driver>.name::
Defines a human readable name for a custom low-level
Expand Down
3 changes: 2 additions & 1 deletion Documentation/core-tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,8 @@ Although git is a truly distributed system, it is often
convenient to organize your project with an informal hierarchy
of developers. Linux kernel development is run this way. There
is a nice illustration (page 17, "Merges to Mainline") in
link:http://tinyurl.com/a2jdg[Randy Dunlap's presentation].
link:http://www.xenotime.net/linux/mentor/linux-mentoring-2006.pdf
[Randy Dunlap's presentation].

It should be stressed that this hierarchy is purely *informal*.
There is nothing fundamental in git that enforces the "chain of
Expand Down
4 changes: 2 additions & 2 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@

--ext-diff::
Allow an external diff helper to be executed. If you set an
external diff driver with gitlink:gitattributes(5), you need
to use this option with gitlink:git-log(1) and friends.
external diff driver with gitlink:gitattributes[5], you need
to use this option with gitlink:git-log[1] and friends.

--no-ext-diff::
Disallow external diff drivers.
Expand Down
11 changes: 7 additions & 4 deletions Documentation/git-apply.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git-apply' [--stat] [--numstat] [--summary] [--check] [--index]
[--apply] [--no-add] [--index-info] [-R | --reverse]
[--apply] [--no-add] [--build-fake-ancestor <file>] [-R | --reverse]
[--allow-binary-replacement | --binary] [--reject] [-z]
[-pNUM] [-CNUM] [--inaccurate-eof] [--cached]
[--whitespace=<nowarn|warn|error|error-all|strip>]
Expand Down Expand Up @@ -63,12 +63,15 @@ OPTIONS
cached data, apply the patch, and store the result in the index,
without using the working tree. This implies '--index'.

--index-info::
--build-fake-ancestor <file>::
Newer git-diff output has embedded 'index information'
for each blob to help identify the original version that
the patch applies to. When this flag is given, and if
the original version of the blob is available locally,
outputs information about them to the standard output.
the original versions of the blobs is available locally,
builds a temporary index containing those blobs.
+
When a pure mode change is encountered (which has no index information),
the information is read from the current index instead.

-R, --reverse::
Apply the patch in reverse.
Expand Down
7 changes: 6 additions & 1 deletion Documentation/git-archive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ SYNOPSIS
--------
[verse]
'git-archive' --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>]
[--remote=<repo>] <tree-ish> [path...]
[--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish>
[path...]

DESCRIPTION
-----------
Expand Down Expand Up @@ -52,6 +53,10 @@ OPTIONS
Instead of making a tar archive from local repository,
retrieve a tar archive from a remote repository.

--exec=<git-upload-archive>::
Used with --remote to specify the path to the
git-upload-archive executable on the remote side.

<tree-ish>::
The tree or commit to produce an archive for.

Expand Down
19 changes: 19 additions & 0 deletions Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ It will start out with a head equal to the one given as <start-point>.
If no <start-point> is given, the branch will be created with a head
equal to that of the currently checked out branch.

Note that this will create the new branch, but it will not switch the
working tree to it; use "git checkout <newbranch>" to switch to the
new branch.

When a local branch is started off a remote branch, git can setup the
branch so that gitlink:git-pull[1] will appropriately merge from that
remote branch. If this behavior is desired, it is possible to make it
Expand Down Expand Up @@ -91,6 +95,21 @@ OPTIONS
--no-abbrev::
Display the full sha1s in output listing rather than abbreviating them.

--track::
Set up configuration so that git-pull will automatically
retrieve data from the remote branch. Use this if you always
pull from the same remote branch into the new branch, or if you
don't want to use "git pull <repository> <refspec>" explicitly. Set the
branch.autosetupmerge configuration variable to true if you
want git-checkout and git-branch to always behave as if
'--track' were given.

--no-track::
When -b is given and a branch is created off a remote branch,
set up configuration so that git-pull will not retrieve data
from the remote branch, ignoring the branch.autosetupmerge
configuration variable.

<branchname>::
The name of the branch to create or delete.
The new branch name must pass all checks defined by
Expand Down
8 changes: 8 additions & 0 deletions Documentation/git-bundle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,20 @@ We set a tag in R1 (lastR2bundle) after the previous such transport,
and move it afterwards to help build the bundle.

in R1 on A:

------------
$ git-bundle create mybundle master ^lastR2bundle
$ git tag -f lastR2bundle master
------------

(move mybundle from A to B by some mechanism)

in R2 on B:

------------
$ git-bundle verify mybundle
$ git-fetch mybundle refspec
------------

where refspec is refInBundle:localRef

Expand All @@ -124,9 +130,11 @@ Also, with something like this in your config:
You can first sneakernet the bundle file to ~/tmp/file.bdl and
then these commands:

------------
$ git ls-remote bundle
$ git fetch bundle
$ git pull bundle
------------

would treat it as if it is talking with a remote side over the
network.
Expand Down
4 changes: 3 additions & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ OPTIONS
--track::
When -b is given and a branch is created off a remote branch,
set up configuration so that git-pull will automatically
retrieve data from the remote branch. Set the
retrieve data from the remote branch. Use this if you always
pull from the same remote branch into the new branch, or if you
don't want to use "git pull <repository> <refspec>" explicitly. Set the
branch.autosetupmerge configuration variable to true if you
want git-checkout and git-branch to always behave as if
'--track' were given.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ $ git diff topic...master <3>
+
<1> Changes between the tips of the topic and the master branches.
<2> Same as above.
<3> Changes that occured on the master branch since when the topic
<3> Changes that occurred on the master branch since when the topic
branch was started off it.

Limiting the diff output::
Expand Down
5 changes: 5 additions & 0 deletions Documentation/git-for-each-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ In any case, a field name that refers to a field inapplicable to
the object referred by the ref does not cause an error. It
returns an empty string instead.

As a special case for the date-type fields, you may specify a format for
the date by adding one of `:default`, `:relative`, `:short`, `:local`,
`:iso8601` or `:rfc2822` to the end of the fieldname; e.g.
`%(taggerdate:relative)`.


EXAMPLES
--------
Expand Down
Loading

0 comments on commit 2e13e5d

Please sign in to comment.