summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-02-03 22:14:40 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-02-03 23:05:34 -0800
commitd77ee72662a821d66ae218056f0103eb24d8d4b4 (patch)
treee22abdbd11735a0669362f934ae723d233c87e2b
parentscan reflogs independently from refs (diff)
parentDefault GIT_MERGE_VERBOSITY to 5 during tests. (diff)
downloadtgif-d77ee72662a821d66ae218056f0103eb24d8d4b4.tar.xz
Merge branch 'master' into np/dreflog
This is to resolve conflicts early in preparation for possible inclusion of "reflog on detached HEAD" series by Nico, as having it in 1.5.0 would really help us remove confusion between detached and attached states. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--.gitignore2
-rw-r--r--Documentation/Makefile8
-rwxr-xr-xDocumentation/cmd-list.perl4
-rw-r--r--Documentation/config.txt30
-rw-r--r--Documentation/core-intro.txt2
-rw-r--r--Documentation/core-tutorial.txt12
-rw-r--r--Documentation/cvs-migration.txt2
-rw-r--r--Documentation/diff-format.txt2
-rw-r--r--Documentation/docbook-xsl.css286
-rw-r--r--Documentation/everyday.txt8
-rw-r--r--Documentation/git-blame.txt47
-rw-r--r--Documentation/git-cat-file.txt4
-rw-r--r--Documentation/git-checkout.txt17
-rw-r--r--Documentation/git-config.txt227
-rw-r--r--Documentation/git-for-each-ref.txt4
-rw-r--r--Documentation/git-fsck-objects.txt128
-rw-r--r--Documentation/git-fsck.txt139
-rw-r--r--Documentation/git-pack-redundant.txt2
-rw-r--r--Documentation/git-prune.txt2
-rw-r--r--Documentation/git-pull.txt4
-rw-r--r--Documentation/git-remote.txt30
-rw-r--r--Documentation/git-repo-config.txt217
-rw-r--r--Documentation/git-rev-parse.txt4
-rw-r--r--Documentation/git-send-pack.txt2
-rw-r--r--Documentation/git-svn.txt22
-rw-r--r--Documentation/git-update-index.txt4
-rw-r--r--Documentation/git-var.txt4
-rw-r--r--Documentation/git.txt5
-rw-r--r--Documentation/gitk.txt2
-rw-r--r--Documentation/hooks.txt5
-rw-r--r--Documentation/howto/setup-git-server-over-http.txt4
-rw-r--r--Documentation/tutorial-2.txt15
-rw-r--r--Documentation/tutorial.txt48
-rw-r--r--Documentation/user-manual.conf21
-rw-r--r--Documentation/user-manual.txt2961
-rwxr-xr-xGIT-VERSION-GEN2
-rw-r--r--Makefile8
-rw-r--r--builtin-blame.c298
-rw-r--r--builtin-branch.c12
-rw-r--r--builtin-config.c (renamed from builtin-repo-config.c)4
-rw-r--r--builtin-for-each-ref.c12
-rw-r--r--builtin-fsck.c (renamed from fsck-objects.c)7
-rw-r--r--builtin-update-index.c8
-rw-r--r--builtin-update-ref.c6
-rw-r--r--builtin.h3
-rw-r--r--combine-diff.c34
-rw-r--r--commit.c3
-rw-r--r--config.c2
-rw-r--r--contrib/blameview/README10
-rwxr-xr-xcontrib/blameview/blameview.perl119
-rwxr-xr-xcontrib/completion/git-completion.bash15
-rw-r--r--contrib/emacs/git.el8
-rwxr-xr-xcontrib/gitview/gitview2
-rw-r--r--contrib/remotes2config.sh4
-rw-r--r--daemon.c9
-rwxr-xr-xgit-bisect.sh2
-rwxr-xr-xgit-checkout.sh29
-rwxr-xr-xgit-clone.sh79
-rwxr-xr-xgit-commit.sh12
-rwxr-xr-xgit-cvsserver.perl6
-rwxr-xr-xgit-fetch.sh4
-rwxr-xr-xgit-instaweb.sh10
-rwxr-xr-xgit-lost-found.sh2
-rwxr-xr-xgit-ls-remote.sh4
-rwxr-xr-xgit-merge-resolve.sh2
-rwxr-xr-xgit-merge.sh4
-rw-r--r--git-p4import.py4
-rwxr-xr-xgit-parse-remote.sh16
-rwxr-xr-xgit-quiltimport.sh2
-rwxr-xr-xgit-rebase.sh3
-rwxr-xr-xgit-remote.perl90
-rwxr-xr-xgit-repack.sh2
-rwxr-xr-xgit-revert.sh4
-rwxr-xr-xgit-send-email.perl2
-rwxr-xr-xgit-sh-setup.sh2
-rwxr-xr-xgit-svn.perl30
-rwxr-xr-xgit-tag.sh7
-rw-r--r--git.c7
-rwxr-xr-xgitk2
-rwxr-xr-xgitweb/gitweb.perl4
-rw-r--r--http-fetch.c2
-rw-r--r--ident.c4
-rw-r--r--merge-recursive.c10
-rw-r--r--perl/Git.pm10
-rw-r--r--perl/private-Error.pm2
-rw-r--r--ppc/sha1ppc.S6
-rw-r--r--quote.c34
-rw-r--r--quote.h1
-rw-r--r--reflog-walk.c8
-rw-r--r--refs.c2
-rw-r--r--send-pack.c2
-rw-r--r--server-info.c2
-rw-r--r--sha1_file.c68
-rw-r--r--sha1_name.c27
-rwxr-xr-xt/t1004-read-tree-m-u-wf.sh2
-rwxr-xr-xt/t1020-subdirectory.sh6
-rwxr-xr-xt/t1300-repo-config.sh102
-rwxr-xr-xt/t1400-update-ref.sh4
-rwxr-xr-xt/t1410-reflog.sh4
-rwxr-xr-xt/t3200-branch.sh6
-rwxr-xr-xt/t3700-add.sh6
-rwxr-xr-xt/t3800-mktag.sh4
-rwxr-xr-xt/t3900-i18n-commit.sh24
-rwxr-xr-xt/t3901-i18n-patch.sh58
-rwxr-xr-xt/t4000-diff-format.sh2
-rwxr-xr-xt/t4006-diff-mode.sh2
-rwxr-xr-xt/t4013-diff-various.sh2
-rwxr-xr-xt/t4102-apply-rename.sh2
-rwxr-xr-xt/t5000-tar-tree.sh2
-rwxr-xr-xt/t5301-sliding-window.sh14
-rwxr-xr-xt/t5400-send-pack.sh2
-rwxr-xr-xt/t5500-fetch-pack.sh8
-rwxr-xr-xt/t5510-fetch.sh10
-rwxr-xr-xt/t5600-clone-fail-cleanup.sh2
-rwxr-xr-xt/t5710-info-alternate.sh2
-rwxr-xr-xt/t6023-merge-rename-nocruft.sh42
-rwxr-xr-xt/t6200-fmt-merge-msg.sh6
-rwxr-xr-xt/t9101-git-svn-props.sh2
-rwxr-xr-xt/t9200-git-cvsexportcommit.sh22
-rwxr-xr-xt/test-lib.sh2
-rw-r--r--templates/Makefile2
-rw-r--r--templates/hooks--update340
-rw-r--r--wt-status.c2
123 files changed, 5106 insertions, 923 deletions
diff --git a/.gitignore b/.gitignore
index 6da1cdbd0d..a43444fb92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ git-clean
git-clone
git-commit
git-commit-tree
+git-config
git-convert-objects
git-count-objects
git-cvsexportcommit
@@ -41,6 +42,7 @@ git-findtags
git-fmt-merge-msg
git-for-each-ref
git-format-patch
+git-fsck
git-fsck-objects
git-gc
git-get-tar-commit-id
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 5314068d32..266af47176 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -17,7 +17,7 @@ ARTICLES += hooks
ARTICLES += everyday
ARTICLES += git-tools
# with their own formatting rules.
-SP_ARTICLES = glossary howto/revert-branch-rebase
+SP_ARTICLES = glossary howto/revert-branch-rebase user-manual
DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
@@ -99,6 +99,12 @@ clean:
%.xml : %.txt
asciidoc -b docbook -d manpage -f asciidoc.conf $<
+user-manual.xml: user-manual.txt user-manual.conf
+ asciidoc -b docbook -d book $<
+
+user-manual.html: user-manual.xml
+ xmlto html-nochunks $<
+
glossary.html : glossary.txt sort_glossary.pl
cat $< | \
perl sort_glossary.pl | \
diff --git a/Documentation/cmd-list.perl b/Documentation/cmd-list.perl
index 744db82413..6dba8d8fe0 100755
--- a/Documentation/cmd-list.perl
+++ b/Documentation/cmd-list.perl
@@ -97,7 +97,7 @@ git-fetch-pack synchingrepositories
git-fmt-merge-msg purehelpers
git-for-each-ref plumbinginterrogators
git-format-patch mainporcelain
-git-fsck-objects ancillaryinterrogators
+git-fsck ancillaryinterrogators
git-gc mainporcelain
git-get-tar-commit-id ancillaryinterrogators
git-grep mainporcelain
@@ -144,7 +144,7 @@ git-receive-pack synchelpers
git-reflog ancillarymanipulators
git-relink ancillarymanipulators
git-repack ancillarymanipulators
-git-repo-config ancillarymanipulators
+git-config ancillarymanipulators
git-request-pull foreignscminterface
git-rerere ancillaryinterrogators
git-reset mainporcelain
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6ea7c76a6a..4e650af01a 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -39,7 +39,7 @@ in the section header, like in example below:
Subsection names can contain any characters except newline (doublequote
'`"`' and backslash have to be escaped as '`\"`' and '`\\`',
-respecitvely) and are case sensitive. Section header cannot span multiple
+respectively) and are case sensitive. Section header cannot span multiple
lines. Variables may belong directly to a section or to a given subsection.
You can have `[section]` if you have `[section "subsection"]`, but you
don't need to.
@@ -62,7 +62,7 @@ The values following the equals sign in variable assign are all either
a string, an integer, or a boolean. Boolean values may be given as yes/no,
0/1 or true/false. Case is not significant in boolean values, when
converting value to the canonical form using '--bool' type specifier;
-`git-repo-config` will ensure that the output is "true" or "false".
+`git-config` will ensure that the output is "true" or "false".
String values may be entirely or partially enclosed in double quotes.
You need to enclose variable value in double quotes if you want to
@@ -250,10 +250,15 @@ color.branch.<slot>::
Use customized color for branch coloration. `<slot>` is one of
`current` (the current branch), `local` (a local branch),
`remote` (a tracking branch in refs/remotes/), `plain` (other
- refs), or `reset` (the normal terminal color). The value for
- these configuration variables can be one of: `normal`, `bold`,
- `dim`, `ul`, `blink`, `reverse`, `reset`, `black`, `red`,
- `green`, `yellow`, `blue`, `magenta`, `cyan`, or `white`.
+ refs).
++
+The value for these configuration variables is a list of colors (at most
+two) and attributes (at most one), separated by spaces. The colors
+accepted are `normal`, `black`, `red`, `green`, `yellow`, `blue`,
+`magenta`, `cyan` and `white`; the attributes are `bold`, `dim`, `ul`,
+`blink` and `reverse`. The first color given is the foreground; the
+second is the background. The position of the attribute, if any,
+doesn't matter.
color.diff::
When true (or `always`), always use colors in patch.
@@ -261,12 +266,13 @@ color.diff::
colors only when the output is to the terminal.
color.diff.<slot>::
- Use customized color for diff colorization. `<slot>`
- specifies which part of the patch to use the specified
- color, and is one of `plain` (context text), `meta`
- (m