Skip to content

Commit

Permalink
Merge commit 'jc/maint' into gfi-maint
Browse files Browse the repository at this point in the history
* commit 'jc/maint': (35 commits)
  Update git-http-fetch documentation
  Update git-local-fetch documentation
  Update git-http-push documentation
  Update -L documentation for git-blame/git-annotate
  Update git-grep documentation
  Update git-fmt-merge documentation
  Document additional options for git-fetch
  Removing -n option from git-diff-files documentation
  Start preparing for 1.5.1.3
  Sanitize @to recipients.
  git-svn: Ignore usernames in URLs in find_by_url
  Document --dry-run and envelope-sender for git-send-email.
  Allow users to optionally specify their envelope sender.
  Ensure clean addresses are always used with Net::SMTP
  Validate @recipients before using it for sendmail and Net::SMTP.
  Perform correct quoting of recipient names.
  Change the scope of the $cc variable as it is not needed outside of send_message.
  Debugging cleanup improvements
  Prefix Dry- to the message status to denote dry-runs.
  Document --dry-run parameter to send-email.
  ...
  • Loading branch information
Shawn O. Pearce committed Apr 29, 2007
2 parents 475d1b3 + 71e2e59 commit ec771a7
Show file tree
Hide file tree
Showing 31 changed files with 268 additions and 71 deletions.
3 changes: 1 addition & 2 deletions Documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.xml
*.html
*.1
*.7
*.[1-8]
*.made
howto-index.txt
doc.dep
Expand Down
27 changes: 20 additions & 7 deletions Documentation/RelNotes-1.5.1.2.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
GIT v1.5.1.2 Release Notes (draft)
GIT v1.5.1.2 Release Notes
==========================

Fixes since v1.5.1.1
--------------------

* Bugfixes

- "git clone" over http from a repository that has lost the
loose refs by running "git pack-refs" were broken (a code to
deal with this was added to "git fetch" in v1.5.0, but it
was missing from "git clone").

- "git diff a/ b/" incorrectly fell in "diff between two
filesystem objects" codepath, when the user most likely
wanted to limit the extent of output to two tracked
Expand All @@ -24,14 +29,22 @@ Fixes since v1.5.1.1
- git-blame on a very long working tree path had buffer
overrun problem.

- git-apply did not like to be fed two patches in a row that created
and then modified the same file.

- git-svn was confused when a non-project was stored directly under
trunk/, branches/ and tags/.

- git-svn wants the Error.pm module that was at least as new
as what we ship as part of git; install ours in our private
installation location if the one on the system is older.

- An earlier update to command line integer parameter parser was
botched and made 'update-index --cacheinfo' completely useless.


* Documentation updates

- Various documentation updates from J. Bruce Fields, Frank
Lichtenheld, Alex Riesen and others. Andrew Ruder started a
war on undocumented options.

---
exec >/var/tmp/1
O=v1.5.1.1-31-g0220f1e
echo O=`git describe refs/heads/maint`
git shortlog --no-merges $O..refs/heads/maint
38 changes: 38 additions & 0 deletions Documentation/RelNotes-1.5.1.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
GIT v1.5.1.3 Release Notes (draft)
==========================

Fixes since v1.5.1.2
--------------------

* Bugfixes

- git-add tried to optimize by finding common leading
directories across its arguments but botched, causing very
confused behaviour.

- unofficial rpm.spec file shipped with git was letting
ETC_GITCONFIG set to /usr/etc/gitconfig. Tweak the official
Makefile to make it harder for distro people to make the
same mistake, by setting the variable to /etc/gitconfig if
prefix is set to /usr.

- git-svn inconsistently stripped away username from the URL
only when svnsync_props was in use.

- git-send-email was not quoting recipient names that have
period '.' in them. Also it did not allow overriding
envelope sender, which made it impossible to send patches to
certain subscriber-only lists.

- built-in write_tree() routine had a sequence that renamed a
file that is still open, which some systems did not like.

- when memory is very tight, sliding mmap code to read
packfiles incorrectly closed the fd that was still being
used to read the pack.

---
exec >/var/tmp/1
O=v1.5.1.2-23-gbf7af11
echo O=`git describe refs/heads/maint`
git shortlog --no-merges $O..refs/heads/maint
24 changes: 22 additions & 2 deletions Documentation/blame-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,28 @@
--show-stats::
Include additional statistics at the end of blame output.

-L n,m::
Annotate only the specified line range (lines count from 1).
-L <start>,<end>::
Annotate only the given line range. <start> and <end> can take
one of these forms:

- number
+
If <start> or <end> is a number, it specifies an
absolute line number (lines count from 1).
+

- /regex/
+
This form will use the first line matching the given
POSIX regex. If <end> is a regex, it will search
starting at the line given by <start>.
+

- +offset or -offset
+
This is only valid for <end> and will specify a number
of lines before or after the line given by <start>.
+

-l::
Show long rev (Default: off).
Expand Down
17 changes: 12 additions & 5 deletions Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
-q, \--quiet::
Pass --quiet to git-fetch-pack and silence any other internally
used programs.

-v, \--verbose::
Be verbose.

-a, \--append::
Append ref names and object names of fetched refs to the
existing contents of `.git/FETCH_HEAD`. Without this
option old data in `.git/FETCH_HEAD` will be overwritten.

\--upload-pack <upload-pack>::
When given, and the repository to fetch from is handled
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
the command to specify non-default path for the command
run on the other end.
When given, and the repository to fetch from is handled
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
the command to specify non-default path for the command
run on the other end.

-f, \--force::
When `git-fetch` is used with `<rbranch>:<lbranch>`
Expand All @@ -16,7 +23,7 @@
fetches is a descendant of `<lbranch>`. This option
overrides that check.

\--no-tags::
-n, \--no-tags::
By default, `git-fetch` fetches tags that point at
objects that are downloaded from the remote repository
and stores them locally. This option disables this
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-checkout - Checkout and switch to a branch
SYNOPSIS
--------
[verse]
'git-checkout' [-q] [-f] [-b [--track | --no-track] <new_branch> [-l]] [-m] [<branch>]
'git-checkout' [-q] [-f] [[--track | --no-track] -b <new_branch> [-l]] [-m] [<branch>]
'git-checkout' [<tree-ish>] <paths>...

DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-diff-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-diff-files - Compares files in the working tree and the index

SYNOPSIS
--------
'git-diff-files' [-q] [-0|-1|-2|-3|-c|--cc|-n|--no-index] [<common diff options>] [<path>...]
'git-diff-files' [-q] [-0|-1|-2|-3|-c|--cc|--no-index] [<common diff options>] [<path>...]

DESCRIPTION
-----------
Expand Down Expand Up @@ -36,7 +36,7 @@ omit diff output for unmerged entries and just show "Unmerged".
diff, similar to the way 'diff-tree' shows a merge
commit with these flags.

\-n,\--no-index::
--no-index::
Compare the two given files / directories.

-q::
Expand Down
25 changes: 24 additions & 1 deletion Documentation/git-fmt-merge-msg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ git-fmt-merge-msg - Produce a merge commit message

SYNOPSIS
--------
'git-fmt-merge-msg' <$GIT_DIR/FETCH_HEAD
git-fmt-merge-msg [--summary | --no-summary] <$GIT_DIR/FETCH_HEAD
git-fmt-merge-msg [--summary | --no-summray] -F <file>

DESCRIPTION
-----------
Expand All @@ -19,6 +20,28 @@ passed as the '<merge-message>' argument of `git-merge`.
This script is intended mostly for internal use by scripts
automatically invoking `git-merge`.

OPTIONS
-------

--summary::
In addition to branch names, populate the log message with
one-line descriptions from the actual commits that are being
merged.

--no-summary::
Do not list one-line descriptions from the actual commits being
merged.

--file <file>, -F <file>::
Take the list of merged objects from <file> instead of
stdin.

CONFIGURATION
-------------

merge.summary::
Whether to include summaries of merged commits in newly
merge commit messages. False by default.

SEE ALSO
--------
Expand Down
19 changes: 15 additions & 4 deletions Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ SYNOPSIS
'git-grep' [--cached]
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
[-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-E | --extended-regexp] [-G | --basic-regexp]
[-F | --fixed-strings] [-n]
[-l | --files-with-matches] [-L | --files-without-match]
[-c | --count] [--all-match]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern> [--and|--or|--not|(|)|-e <pattern>...]
[<tree>...]
[-f <file>] [-e] <pattern>
[--and|--or|--not|(|)|-e <pattern>...] [<tree>...]
[--] [<path>...]

DESCRIPTION
Expand All @@ -39,6 +40,9 @@ OPTIONS
Ignore case differences between the patterns and the
files.

-I::
Don't match the pattern in binary files.

-w | --word-regexp::
Match the pattern only at word boundary (either begin at the
beginning of a line, or preceded by a non-word character; end at
Expand All @@ -64,6 +68,10 @@ OPTIONS
Use POSIX extended/basic regexp for patterns. Default
is to use basic regexp.

-F | --fixed-strings::
Use fixed strings for patterns (don't interpret pattern
as a regex).

-n::
Prefix the line number to matching lines.

Expand All @@ -81,6 +89,9 @@ OPTIONS
line containing `--` between contiguous groups of
matches.

-<num>::
A shortcut for specifying -C<num>.

-f <file>::
Read patterns from <file>, one per line.

Expand Down
4 changes: 4 additions & 0 deletions Documentation/git-http-fetch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ commit-id::

<commit-id>['\t'<filename-as-in--w>]

--recover::
Verify that everything reachable from target is fetched. Used after
an earlier fetch is interrupted.

Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Expand Down
13 changes: 11 additions & 2 deletions Documentation/git-http-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-http-push - Push objects over HTTP/DAV to another repository

SYNOPSIS
--------
'git-http-push' [--complete] [--force] [--verbose] <url> <ref> [<ref>...]
'git-http-push' [--all] [--force] [--verbose] <url> <ref> [<ref>...]

DESCRIPTION
-----------
Expand All @@ -18,7 +18,7 @@ remote branch.

OPTIONS
-------
--complete::
--all::
Do not assume that the remote repository is complete in its
current state, and verify all objects in the entire local
ref's history exist in the remote repository.
Expand All @@ -34,6 +34,15 @@ OPTIONS
Report the list of objects being walked locally and the
list of objects successfully sent to the remote repository.

-d, -D::
Remove <ref> from remote repository. The specified branch
cannot be the remote HEAD. If -d is specified the following
other conditions must also be met:

- Remote HEAD must resolve to an object that exists locally
- Specified branch resolves to an object that exists locally
- Specified branch is an ancestor of the remote HEAD

<ref>...::
The remote refs to update.

Expand Down
14 changes: 14 additions & 0 deletions Documentation/git-local-fetch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ OPTIONS
Get all the objects.
-v::
Report what is downloaded.
-s::
Instead of regular file-to-file copying use symbolic links to the objects
in the remote repository.
-l::
Before attempting symlinks (if -s is specified) or file-to-file copying the
remote objects, try to hardlink the remote objects into the local
repository.
-n::
Never attempt to file-to-file copy remote objects. Only useful with
-s or -l command-line options.

-w <filename>::
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
Expand All @@ -35,6 +45,10 @@ OPTIONS

<commit-id>['\t'<filename-as-in--w>]

--recover::
Verify that everything reachable from target is fetched. Used after
an earlier fetch is interrupted.

Author
------
Written by Junio C Hamano <junkio@cox.net>
Expand Down
2 changes: 2 additions & 0 deletions Documentation/git-reset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ message, or both. Leaves working tree as it was before "reset".
<3> "reset" copies the old head to .git/ORIG_HEAD; redo the
commit by starting with its log message. If you do not need to
edit the message further, you can give -C option instead.
+
See also the --amend option to gitlink:git-commit[1].

Undo commits permanently::
+
Expand Down
9 changes: 9 additions & 0 deletions Documentation/git-send-email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ The --cc option must be repeated for each user you want on the cc list.
Do not add the From: address to the cc: list, if it shows up in a From:
line.

--dry-run::
Do everything except actually send the emails.

--envelope-sender::
Specify the envelope sender used to send the emails.
This is useful if your default address is not the address that is
subscribed to a list. If you use the sendmail binary, you must have
suitable privileges for the -f parameter.

--to::
Specify the primary recipient of the emails generated.
Generally, this will be the upstream maintainer of the
Expand Down
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GVF=GIT-VERSION-FILE
DEF_VER=v1.5.1.1.GIT
DEF_VER=v1.5.1.2.GIT

LF='
'
Expand Down
Loading

0 comments on commit ec771a7

Please sign in to comment.