Skip to content

Commit

Permalink
Merge branch 'master' into js/c-merge-recursive
Browse files Browse the repository at this point in the history
Adjust to hold_lock_file_for_update() change on the master.
  • Loading branch information
Junio C Hamano committed Aug 13, 2006
2 parents 4147d80 + 01aaf1f commit eed94a5
Show file tree
Hide file tree
Showing 84 changed files with 1,486 additions and 479 deletions.
19 changes: 13 additions & 6 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ core.repositoryFormatVersion::
version.

core.sharedRepository::
If true, the repository is made shareable between several users
in a group (making sure all the files and objects are group-writable).
See gitlink:git-init-db[1]. False by default.
When 'group' (or 'true'), the repository is made shareable between
several users in a group (making sure all the files and objects are
group-writable). When 'all' (or 'world' or 'everybody'), the
repository will be readable by all users, additionally to being
group-shareable. When 'umask' (or 'false'), git will use permissions
reported by umask(2). See gitlink:git-init-db[1]. False by default.

core.warnAmbiguousRefs::
If true, git will warn you if the ref name you passed it is ambiguous
Expand Down Expand Up @@ -116,6 +119,10 @@ apply.whitespace::
Tells `git-apply` how to handle whitespaces, in the same way
as the '--whitespace' option. See gitlink:git-apply[1].

pager.color::
A boolean to enable/disable colored output when the pager is in
use (default is true).

diff.color::
When true (or `always`), always use colors in patch.
When false (or `never`), never. When set to `auto`, use
Expand Down Expand Up @@ -219,14 +226,14 @@ showbranch.default::
See gitlink:git-show-branch[1].

tar.umask::
By default, git-link:git-tar-tree[1] sets file and directories modes
By default, gitlink:git-tar-tree[1] sets file and directories modes
to 0666 or 0777. While this is both useful and acceptable for projects
such as the Linux Kernel, it might be excessive for other projects.
With this variable, it becomes possible to tell
git-link:git-tar-tree[1] to apply a specific umask to the modes above.
gitlink:git-tar-tree[1] to apply a specific umask to the modes above.
The special value "user" indicates that the user's current umask will
be used. This should be enough for most projects, as it will lead to
the same permissions as git-link:git-checkout[1] would use. The default
the same permissions as gitlink:git-checkout[1] would use. The default
value remains 0, which means world read-write.

user.email::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-cvsimport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ file each time git-cvsimport is run.
+
It is not recommended to use this feature if you intend to
export changes back to CVS again later with
git-link[1]::git-cvsexportcommit.
gitlink:git-cvsexportcommit[1].

OUTPUT
------
Expand Down
20 changes: 17 additions & 3 deletions Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SYNOPSIS
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-c | --count]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern>
[-f <file>] [-e] <pattern> [--and|--or|--not|(|)|-e <pattern>...]
[<tree>...]
[--] [<path>...]

Expand Down Expand Up @@ -74,16 +74,30 @@ OPTIONS
-e::
The next parameter is the pattern. This option has to be
used for patterns starting with - and should be used in
scripts passing user input to grep.
scripts passing user input to grep. Multiple patterns are
combined by 'or'.

--and | --or | --not | ( | )::
Specify how multiple patterns are combined using boolean
expressions. `--or` is the default operator. `--and` has
higher precedence than `--or`. `-e` has to be used for all
patterns.

`<tree>...`::
Search blobs in the trees for specified patterns.

`--`::
\--::
Signals the end of options; the rest of the parameters
are <path> limiters.


Example
-------

git grep -e \'#define\' --and \( -e MAX_PATH -e PATH_MAX \)::
Looks for a line that has `#define` and either `MAX_PATH` or
`PATH_MAX`.

Author
------
Originally written by Linus Torvalds <torvalds@osdl.org>, later
Expand Down
51 changes: 35 additions & 16 deletions Documentation/git-init-db.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,47 @@ git-init-db - Creates an empty git repository

SYNOPSIS
--------
'git-init-db' [--template=<template_directory>] [--shared]
'git-init-db' [--template=<template_directory>] [--shared[=<permissions>]]


OPTIONS
-------

--

--template=<template_directory>::
Provide the directory from which templates will be used.
The default template directory is `/usr/share/git-core/templates`.

--shared::
Specify that the git repository is to be shared amongst several users.
Provide the directory from which templates will be used. The default template
directory is `/usr/share/git-core/templates`.

When specified, `<template_directory>` is used as the source of the template
files rather than the default. The template files include some directory
structure, some suggested "exclude patterns", and copies of non-executing
"hook" files. The suggested patterns and hook files are all modifiable and
extensible.

--shared[={false|true|umask|group|all|world|everybody}]::

Specify that the git repository is to be shared amongst several users. This
allows users belonging to the same group to push into that
repository. When specified, the config variable "core.sharedRepository" is
set so that files and directories under `$GIT_DIR` are created with the
requested permissions. When not specified, git will use permissions reported
by umask(2).

The option can have the following values, defaulting to 'group' if no value
is given:

- 'umask' (or 'false'): Use permissions reported by umask(2). The default,
when `--shared` is not specified.

- 'group' (or 'true'): Make the repository group-writable, (and g+sx, since
the git group may be not the primary group of all users).

- 'all' (or 'world' or 'everybody'): Same as 'group', but make the repository
readable by all users.

--


DESCRIPTION
Expand All @@ -29,24 +59,13 @@ template files.
An initial `HEAD` file that references the HEAD of the master branch
is also created.

If `--template=<template_directory>` is specified, `<template_directory>`
is used as the source of the template files rather than the default.
The template files include some directory structure, some suggested
"exclude patterns", and copies of non-executing "hook" files. The
suggested patterns and hook files are all modifiable and extensible.

If the `$GIT_DIR` environment variable is set then it specifies a path
to use instead of `./.git` for the base of the repository.

If the object storage directory is specified via the `$GIT_OBJECT_DIRECTORY`
environment variable then the sha1 directories are created underneath -
otherwise the default `$GIT_DIR/objects` directory is used.

A shared repository allows users belonging to the same group to push into that
repository. When specifying `--shared` the config variable "core.sharedRepository"
is set to 'true' so that directories under `$GIT_DIR` are made group writable
(and g+sx, since the git group may be not the primary group of all users).

Running `git-init-db` in an existing repository is safe. It will not overwrite
things that are already there. The primary reason for rerunning `git-init-db`
is to pick up newly added templates.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-push - Update remote refs along with associated objects

SYNOPSIS
--------
'git-push' [--all] [--tags] [--force] <repository> <refspec>...
'git-push' [--all] [--tags] [-f | --force] <repository> <refspec>...

DESCRIPTION
-----------
Expand Down
5 changes: 5 additions & 0 deletions Documentation/git-rev-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ SYNOPSIS
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
[ \--pretty | \--header ]
[ \--bisect ]
[ \--merge ]
<commit>... [ \-- <paths>... ]

DESCRIPTION
Expand Down Expand Up @@ -123,6 +124,10 @@ OPTIONS
topological order (i.e. descendant commits are shown
before their parents).

--merge::
After a failed merge, show refs that touch files having a
conflict and don't exist on all heads to merge.

Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Expand Down
6 changes: 5 additions & 1 deletion Documentation/git-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-status - Show working tree status

SYNOPSIS
--------
'git-status'
'git-status' <options>...

DESCRIPTION
-----------
Expand All @@ -23,6 +23,10 @@ If there is no path that is different between the index file and
the current HEAD commit, the command exits with non-zero
status.

The command takes the same set of options as `git-commit`; it
shows what would be committed if the same options are given to
`git-commit`.


OUTPUT
------
Expand Down
6 changes: 6 additions & 0 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ gitlink:git-quiltimport[1]::
gitlink:git-relink[1]::
Hardlink common objects in local repositories.

gitlink:git-svn[1]::
Bidirectional operation between a single Subversion branch and git.

gitlink:git-svnimport[1]::
Import a SVN repository into git.

Expand Down Expand Up @@ -442,6 +445,9 @@ gitlink:git-get-tar-commit-id[1]::
gitlink:git-imap-send[1]::
Dump a mailbox from stdin into an imap folder.

gitlink:git-instaweb[1]::
Instantly browse your working repository in gitweb.

gitlink:git-mailinfo[1]::
Extracts patch and authorship information from a single
e-mail message, optionally transliterating the commit
Expand Down
Loading

0 comments on commit eed94a5

Please sign in to comment.