summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-12-10 01:22:42 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-12-10 01:22:42 -0800
commit7be2b6e02b4f2a1b4812764f65b12cafb11a934e (patch)
treec94ad7eb3a4d478a1c71eb6ef0aaf1c0f7348660
parentDocumentation: describe -w/--web option to "git-help". (diff)
parentUpdate draft Release Notes for 1.5.4 (diff)
downloadtgif-7be2b6e02b4f2a1b4812764f65b12cafb11a934e.tar.xz
Merge branch 'master' into cc/help
This is to primarily pull in MANPATH tweak and help.txt formatting fix from the master branch.
-rw-r--r--.gitignore1
-rw-r--r--.mailmap1
-rw-r--r--Documentation/Makefile25
-rw-r--r--Documentation/RelNotes-1.5.4.txt115
-rw-r--r--Documentation/SubmittingPatches2
-rw-r--r--Documentation/config.txt64
-rw-r--r--Documentation/diff-format.txt159
-rw-r--r--Documentation/diff-generate-patch.txt161
-rw-r--r--Documentation/diff-options.txt2
-rw-r--r--Documentation/git-add.txt13
-rw-r--r--Documentation/git-apply.txt35
-rw-r--r--Documentation/git-bisect.txt11
-rw-r--r--Documentation/git-commit.txt2
-rw-r--r--Documentation/git-config.txt10
-rw-r--r--Documentation/git-fast-export.txt4
-rw-r--r--Documentation/git-help.txt2
-rw-r--r--Documentation/git-log.txt7
-rw-r--r--Documentation/git-rerere.txt4
-rw-r--r--Documentation/git-send-pack.txt4
-rw-r--r--Documentation/git-status.txt37
-rw-r--r--Documentation/git.txt2
-rw-r--r--Documentation/gitattributes.txt31
-rw-r--r--Makefile27
-rw-r--r--builtin-add.c58
-rw-r--r--builtin-apply.c238
-rw-r--r--builtin-branch.c2
-rw-r--r--builtin-clean.c52
-rw-r--r--builtin-commit-tree.c4
-rw-r--r--builtin-commit.c854
-rw-r--r--builtin-config.c58
-rwxr-xr-xbuiltin-fast-export.c8
-rw-r--r--builtin-fetch.c145
-rw-r--r--builtin-for-each-ref.c6
-rw-r--r--builtin-grep.c12
-rw-r--r--builtin-log.c4
-rw-r--r--builtin-ls-files.c98
-rw-r--r--builtin-ls-remote.c45
-rw-r--r--builtin-pack-objects.c162
-rw-r--r--builtin-push.c9
-rw-r--r--builtin-rev-parse.c2
-rw-r--r--builtin-runstatus.c1
-rw-r--r--builtin-shortlog.c165
-rw-r--r--builtin-tag.c24
-rw-r--r--builtin.h3
-rw-r--r--cache.h30
-rw-r--r--color.c6
-rw-r--r--color.h2
-rw-r--r--command-list.txt1
-rw-r--r--commit.h3
-rw-r--r--config.c15
-rw-r--r--config.mak.in1
-rw-r--r--configure.ac22
-rwxr-xr-xcontrib/examples/git-commit.sh (renamed from git-commit.sh)0
-rwxr-xr-xcontrib/hg-to-git/hg-to-git.py2
-rwxr-xr-x[-rw-r--r--]contrib/remotes2config.sh8
-rw-r--r--diff.c42
-rw-r--r--dir.c2
-rw-r--r--environment.c1
-rw-r--r--exec_cmd.c2
-rwxr-xr-xgit-add--interactive.perl331
-rwxr-xr-xgit-am.sh9
-rwxr-xr-xgit-bisect.sh19
-rwxr-xr-xgit-cvsserver.perl33
-rw-r--r--git-gui/Makefile14
-rw-r--r--git-gui/lib/commit.tcl2
-rw-r--r--git-gui/lib/git-gui.icobin318 -> 3638 bytes
-rw-r--r--git-gui/po/de.po308
-rw-r--r--git-gui/po/git-gui.pot404
-rw-r--r--git-gui/po/glossary/it.po16
-rw-r--r--git-gui/po/hu.po682
-rw-r--r--git-gui/po/it.po461
-rw-r--r--git-gui/po/ja.po418
-rwxr-xr-xgit-mergetool.sh9
-rwxr-xr-xgit-send-email.perl5
-rwxr-xr-xgit-submodule.sh10
-rw-r--r--git.c9
-rwxr-xr-xgitweb/gitweb.perl7
-rw-r--r--help.c22
-rw-r--r--http.c37
-rw-r--r--http.h18
-rw-r--r--ident.c62
-rw-r--r--mailmap.c7
-rw-r--r--perl/Git.pm35
-rw-r--r--quote.c13
-rw-r--r--quote.h3
-rw-r--r--refs.c33
-rw-r--r--remote.c30
-rw-r--r--remote.h5
-rw-r--r--setup.c37
-rw-r--r--sha1_name.c33
-rw-r--r--strbuf.h1
-rwxr-xr-xt/t0001-init.sh16
-rwxr-xr-xt/t1302-repo-version.sh46
-rwxr-xr-xt/t3001-ls-files-others-exclude.sh2
-rwxr-xr-xt/t4001-diff-rename.sh4
-rwxr-xr-xt/t4019-diff-wserror.sh123
-rwxr-xr-xt/t4124-apply-ws-rule.sh151
-rwxr-xr-xt/t5510-fetch.sh67
-rwxr-xr-xt/t5516-fetch-push.sh29
-rwxr-xr-xt/t6300-for-each-ref.sh39
-rwxr-xr-xt/t7300-clean.sh14
-rwxr-xr-xt/t7500-commit.sh13
-rwxr-xr-xt/t7501-commit.sh29
-rwxr-xr-xt/t7502-commit.sh92
-rwxr-xr-xt/t7502-status.sh122
-rwxr-xr-xt/t7503-pre-commit-hook.sh88
-rwxr-xr-xt/t7504-commit-msg-hook.sh220
-rwxr-xr-xt/t9301-fast-export.sh4
-rwxr-xr-xt/t9600-cvsimport.sh20
-rw-r--r--templates/Makefile2
-rw-r--r--trace.c4
-rw-r--r--transport.c6
-rw-r--r--var.c4
-rw-r--r--ws.c96
-rw-r--r--wt-status.c97
-rw-r--r--wt-status.h3
116 files changed, 5116 insertions, 2054 deletions
diff --git a/.gitignore b/.gitignore
index 916fabc6c5..bac60ce31a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,7 +110,6 @@ git-rev-list
git-rev-parse
git-revert
git-rm
-git-runstatus
git-send-email
git-send-pack
git-sh-setup
diff --git a/.mailmap b/.mailmap
index 3b2ce578a1..1f729c223c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -6,6 +6,7 @@
#
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
+Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
Chris Shoemaker <c.shoemaker@cox.net>
Dana L. How <danahow@gmail.com>
Dana L. How <how@deathvalley.cswitch.com>
diff --git a/Documentation/Makefile b/Documentation/Makefile
index f0df0b0d28..9f0f9d70f6 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -46,6 +46,9 @@ infodir?=$(prefix)/share/info
MAKEINFO=makeinfo
INSTALL_INFO=install-info
DOCBOOK2X_TEXI=docbook2x-texi
+ifndef PERL_PATH
+ PERL_PATH = /usr/bin/perl
+endif
-include ../config.mak.autogen
-include ../config.mak
@@ -80,16 +83,16 @@ man7: $(DOC_MAN7)
info: git.info
install: man
- $(INSTALL) -d -m755 $(DESTDIR)$(man1dir)
- $(INSTALL) -d -m755 $(DESTDIR)$(man5dir)
- $(INSTALL) -d -m755 $(DESTDIR)$(man7dir)
- $(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
- $(INSTALL) -m644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
- $(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
+ $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
+ $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
+ $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
install-info: info
- $(INSTALL) -d -m755 $(DESTDIR)$(infodir)
- $(INSTALL) -m644 git.info $(DESTDIR)$(infodir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
+ $(INSTALL) -m 644 git.info $(DESTDIR)$(infodir)
if test -r $(DESTDIR)$(infodir)/dir; then \
$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
else \
@@ -109,7 +112,7 @@ install-html: html
#
doc.dep : $(wildcard *.txt) build-docdep.perl
$(RM) $@+ $@
- perl ./build-docdep.perl >$@+
+ $(PERL_PATH) ./build-docdep.perl >$@+
mv $@+ $@
-include doc.dep
@@ -128,7 +131,7 @@ $(cmds_txt): cmd-list.made
cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
$(RM) $@
- perl ./cmd-list.perl ../command-list.txt
+ $(PERL_PATH) ./cmd-list.perl ../command-list.txt
date >$@
git.7 git.html: git.txt
@@ -165,7 +168,7 @@ user-manual.html: user-manual.xml
git.info: user-manual.xml
$(RM) $@ $*.texi $*.texi+
$(DOCBOOK2X_TEXI) user-manual.xml --to-stdout >$*.texi+
- perl fix-texi.perl <$*.texi+ >$*.texi
+ $(PERL_PATH) fix-texi.perl <$*.texi+ >$*.texi
$(MAKEINFO) --no-split $*.texi
$(RM) $*.texi $*.texi+
diff --git a/Documentation/RelNotes-1.5.4.txt b/Documentation/RelNotes-1.5.4.txt
index 44f5043ce7..7386e66dc9 100644
--- a/Documentation/RelNotes-1.5.4.txt
+++ b/Documentation/RelNotes-1.5.4.txt
@@ -4,7 +4,8 @@ GIT v1.5.4 Release Notes
Removal
-------
- * "git svnimport" was removed in favor of "git svn".
+ * "git svnimport" was removed in favor of "git svn". It is still there
+ in the source tree (contrib/examples) but unsupported.
Deprecation notices
@@ -48,7 +49,10 @@ Updates since v1.5.3
* Comes with much improved gitk.
- * Comes with "git gui" 0.9.0 with i18n.
+ * Comes with "git gui" 0.9.1 with i18n.
+
+ * gitk is now merged as a subdirectory of git.git project, in
+ preparation for its i18n.
* progress display from many commands are a lot nicer to the eye.
Transfer commands show throughput data.
@@ -66,6 +70,21 @@ Updates since v1.5.3
pairing. Earlier if more than one identical rename sources were
found in the preimage, they were picked pretty much at random.
+ * Value "true" for color.diff and color.status configuration used to
+ mean "always" (even when the output is not going to a terminal).
+ This has been corrected to mean the same thing as "auto".
+
+ * HTTP proxy can be specified per remote repository using
+ remote.*.httpproxy configuration, or global http.proxy configuration
+ variable.
+
+ * Various Perforce importer updates.
+
+ * Example update and post-receive hooks have been improved.
+
+ * Any command that wants to take a commit object name can now use
+ ":/string" syntax to name a commit.
+
* "git reset" is now built-in and its output can be squelched with -q.
* "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.
@@ -77,6 +96,15 @@ Updates since v1.5.3
--skip" without first running "git reset --hard", as the command now
runs it for you.
+ * "git rebase --interactive" mode can now work on detached HEAD.
+
+ * "git rebase" now detaches head during its operation, so after a
+ successful "git rebase" operation, the reflog entry branch@{1} for
+ the current branch points at the commit before the rebase was
+ started.
+
+ * "git rebase -i" also triggers rerere to help your repeated merges.
+
* "git merge" can call the "post-merge" hook.
* "git pack-objects" can optionally run deltification with multiple
@@ -97,12 +125,16 @@ Updates since v1.5.3
than the usual one) after the user accumulates too many loose
objects.
+ * "git clean" has been rewritten in C.
+
* You need to explicitly set clean.requireForce to "false" to allow
"git clean" without -f to do any damage (lack of the configuration
variable used to mean "do not require -f option to lose untracked
files", but we now use the safer default).
- * "git clean" has been rewritten in C.
+ * The kinds of whitespace errors "git diff" and "git apply" notice (and
+ fix) can be controlled via 'core.whitespace' configuration variable
+ and 'whitespace' attribute in .gitattributes file.
* "git push" learned --dry-run option to show what would happen if a
push is run.
@@ -114,6 +146,9 @@ Updates since v1.5.3
one-to-one to the remote, and deletes refs from the remote that do
not exist anymore in the repository on the pushing side.
+ * "git push" can remove a corrupt ref at the remote site with the usual
+ ":ref" refspec.
+
* "git remote" knows --mirror mode. This is to set up configuration to
push into a remote repository to store local branch heads to the same
branch on the remote side, and remove branch heads locally removed
@@ -122,22 +157,59 @@ Updates since v1.5.3
* "git remote" learned "rm" subcommand.
- * "git rebase --interactive" mode can now work on detached HEAD.
-
* "git cvsserver" can be run via "git shell".
+ * "git cvsserver" acts more like receive-pack by running post-receive
+ and post-update hooks.
+
* "git am" and "git rebase" are far less verbose.
* "git pull" learned to pass --[no-]ff option to underlying "git
merge".
- * Various Perforce importer updates.
+ * "git pull --rebase" is a different way to integrate what you fetched
+ into your current branch.
+
+ * "git fast-export" produces datastream that can be fed to fast-impor