Skip to content

Commit

Permalink
Merge with git://kernel.org/pub/scm/git/git.git
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Langhoff committed May 7, 2006
2 parents a248c96 + be65e7d commit 50c08d4
Show file tree
Hide file tree
Showing 58 changed files with 2,848 additions and 819 deletions.
8 changes: 5 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ core.ignoreStat::
slow, such as Microsoft Windows. See gitlink:git-update-index[1].
False by default.

core.onlyUseSymrefs::
Always use the "symref" format instead of symbolic links for HEAD
and other symbolic reference files. True by default.
core.preferSymlinkRefs::
Instead of the default "symref" format for HEAD
and other symbolic reference files, use symbolic links.
This is sometimes needed to work with old scripts that
expect HEAD to be a symbolic link.

core.repositoryFormatVersion::
Internal variable identifying the repository format and layout
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ OPTIONS
-v::
Be verbose.

--::
\--::
This option can be used to separate command-line options from
the list of files, (useful when filenames might be mistaken
for command-line options).
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-checkout-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ OPTIONS
Only meaningful with `--stdin`; paths are separated with
NUL character instead of LF.

--::
\--::
Do not interpret any more arguments as options.

The order of the flags used to matter, but not anymore.
Expand Down
19 changes: 14 additions & 5 deletions Documentation/git-cherry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,20 @@ SYNOPSIS

DESCRIPTION
-----------
Each commit between the fork-point and <head> is examined, and compared against
the change each commit between the fork-point and <upstream> introduces.
Commits already included in upstream are prefixed with '-' (meaning "drop from
my local pull"), while commits missing from upstream are prefixed with '+'
(meaning "add to the updated upstream").
The changeset (or "diff") of each commit between the fork-point and <head>
is compared against each commit between the fork-point and <upstream>.

Every commit with a changeset that doesn't exist in the other branch
has its id (sha1) reported, prefixed by a symbol. Those existing only
in the <upstream> branch are prefixed with a minus (-) sign, and those
that only exist in the <head> branch are prefixed with a plus (+) symbol.

Because git-cherry compares the changeset rather than the commit id
(sha1), you can use git-cherry to find out if a commit you made locally
has been applied <upstream> under a different commit id. For example,
this will happen if you're feeding patches <upstream> via email rather
than pushing or pulling commits directly.


OPTIONS
-------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ OPTIONS
is not allowed.

Examples
~~~~~~~~
--------

Clone from upstream::
+
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ but can be used to amend a merge commit.
index and the latest commit does not match on the
specified paths to avoid confusion.

--::
\--::
Do not interpret any more arguments as options.

<file>...::
Expand Down
12 changes: 11 additions & 1 deletion Documentation/git-count-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,23 @@ git-count-objects - Reports on unpacked objects

SYNOPSIS
--------
'git-count-objects'
'git-count-objects' [-v]

DESCRIPTION
-----------
This counts the number of unpacked object files and disk space consumed by
them, to help you decide when it is a good time to repack.


OPTIONS
-------
-v::
In addition to the number of loose objects and disk
space consumed, it reports the number of in-pack
objects, and number of objects that can be removed by
running `git-prune-packed`.


Author
------
Written by Junio C Hamano <junkio@cox.net>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-diff-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ separated with a single space are given.
Furthermore, it lists only files which were modified
from all parents.

-cc::
--cc::
This flag changes the way a merge commit patch is displayed,
in a similar way to the '-c' option. It implies the '-c'
and '-p' options and further compresses the patch output
Expand Down
4 changes: 3 additions & 1 deletion Documentation/git-imap-send.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CONFIGURATION
git-imap-send requires the following values in the repository
configuration file (shown with examples):

..........................
[imap]
Folder = "INBOX.Drafts"

Expand All @@ -38,8 +39,9 @@ configuration file (shown with examples):
[imap]
Host = imap.server.com
User = bob
Password = pwd
Pass = pwd
Port = 143
..........................


BUGS
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ git log v2.6.12.. include/scsi drivers/scsi::
Show all commits since version 'v2.6.12' that changed any file
in the include/scsi or drivers/scsi subdirectories

git log --since="2 weeks ago" -- gitk::
git log --since="2 weeks ago" \-- gitk::

Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ OPTIONS
lines, show only handful hexdigits prefix.
Non default number of digits can be specified with --abbrev=<n>.

--::
\--::
Do not interpret any more arguments as options.

<file>::
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-merge-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-merge-index - Runs a merge for files needing merging

SYNOPSIS
--------
'git-merge-index' [-o] [-q] <merge-program> (-a | -- | <file>\*)
'git-merge-index' [-o] [-q] <merge-program> (-a | \-- | <file>\*)

DESCRIPTION
-----------
Expand All @@ -19,7 +19,7 @@ files are passed as arguments 5, 6 and 7.

OPTIONS
-------
--::
\--::
Do not interpret any more arguments as options.

-a::
Expand Down
1 change: 1 addition & 0 deletions Documentation/git-name-rev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Enter git-name-rev:

------------
% git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a
33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99^0~940
------------

Now you are wiser, because you know that it happened 940 revisions before v0.99.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-prune.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OPTIONS
Do not remove anything; just report what it would
remove.

--::
\--::
Do not interpret any more arguments as options.

<head>...::
Expand Down
1 change: 1 addition & 0 deletions Documentation/git-repack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ OPTIONS
-d::
After packing, if the newly created packs make some
existing packs redundant, remove the redundant packs.
Also runs gitlink:git-prune-packed[1].

-l::
Pass the `--local` option to `git pack-objects`, see
Expand Down
11 changes: 7 additions & 4 deletions Documentation/git-repo-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ convert the value to the canonical form (simple decimal number for int,
a "true" or "false" string for bool). If no type specifier is passed,
no checks or transformations are performed on the value.

This command will fail if
This command will fail if:

. .git/config is invalid,
. .git/config can not be written to,
. The .git/config file is invalid,
. Can not write to .git/config,
. no section was provided,
. the section or key is invalid,
. you try to unset an option which does not exist, or
Expand All @@ -49,7 +49,7 @@ OPTIONS

--replace-all::
Default behaviour is to replace at most one line. This replaces
all lines matching the key (and optionally the value_regex)
all lines matching the key (and optionally the value_regex).

--get::
Get the value for a given key (optionally filtered by a regex
Expand All @@ -59,6 +59,9 @@ OPTIONS
Like get, but does not fail if the number of values for the key
is not exactly one.

--get-regexp::
Like --get-all, but interprets the name as a regular expression.

--unset::
Remove the line matching the key from .git/config.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-reset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ OPTIONS
Commit to make the current HEAD.

Examples
~~~~~~~~
--------

Undo a commit and redo::
+
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-rm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ OPTIONS
-v::
Be verbose.

--::
\--::
This option can be used to separate command-line options from
the list of files, (useful when filenames might be mistaken
for command-line options).
Expand Down
13 changes: 10 additions & 3 deletions Documentation/git-unpack-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ SYNOPSIS

DESCRIPTION
-----------
Reads a packed archive (.pack) from the standard input, and
expands the objects contained in the pack into "one-file
one-object" format in $GIT_OBJECT_DIRECTORY.
Read a packed archive (.pack) from the standard input, expanding
the objects contained within and writing them into the repository in
"loose" (one object per file) format.

Objects that already exist in the repository will *not* be unpacked
from the pack-file. Therefore, nothing will be unpacked if you use
this command on a pack-file that exists within the target repository.

Please see the `git-repack` documentation for options to generate
new packs and replace existing ones.

OPTIONS
-------
Expand Down
12 changes: 8 additions & 4 deletions Documentation/git-update-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ SYNOPSIS
--------
[verse]
'git-update-index'
[--add] [--remove | --force-remove] [--replace]
[--refresh [-q] [--unmerged] [--ignore-missing]]
[--add] [--remove | --force-remove] [--replace]
[--refresh] [-q] [--unmerged] [--ignore-missing]
[--cacheinfo <mode> <object> <file>]\*
[--chmod=(+|-)x]
[--assume-unchanged | --no-assume-unchanged]
[--really-refresh]
[--really-refresh] [--unresolve]
[--info-only] [--index-info]
[-z] [--stdin]
[--verbose]
Expand Down Expand Up @@ -80,6 +80,10 @@ OPTIONS
filesystem that has very slow lstat(2) system call
(e.g. cifs).

--unresolve::
Restores the 'unmerged' or 'needs updating' state of a
file during a merge if it was cleared by accident.

--info-only::
Do not create objects in the object database for all
<file> arguments that follow this flag; just insert
Expand Down Expand Up @@ -109,7 +113,7 @@ OPTIONS
Only meaningful with `--stdin`; paths are separated with
NUL character instead of LF.

--::
\--::
Do not interpret any more arguments as options.

<file>::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-verify-pack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OPTIONS
-v::
After verifying the pack, show list of objects contained
in the pack.
--::
\--::
Do not interpret any more arguments as options.

OUTPUT FORMAT
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-whatchanged.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ git-whatchanged -p v2.6.12.. include/scsi drivers/scsi::
Show as patches the commits since version 'v2.6.12' that changed
any file in the include/scsi or drivers/scsi subdirectories

git-whatchanged --since="2 weeks ago" -- gitk::
git-whatchanged --since="2 weeks ago" \-- gitk::

Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
Expand Down
2 changes: 1 addition & 1 deletion Documentation/gitk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gitk v2.6.12.. include/scsi drivers/scsi::
Show as the changes since version 'v2.6.12' that changed any
file in the include/scsi or drivers/scsi subdirectories

gitk --since="2 weeks ago" -- gitk::
gitk --since="2 weeks ago" \-- gitk::

Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
Expand Down
Loading

0 comments on commit 50c08d4

Please sign in to comment.