Junio C Hamano [Sun, 7 Aug 2005 21:11:08 +0000 (14:11 -0700)]
Merge with gitk.
This merges commit
d6e8149bc53de57cab7cc0d9aff6c2341f3a7efa
from gitk into our head commit
200e7fbbac82b6665f8175af0e375fbef3568c30
Sincerely,
jit-merge command.
Junio C Hamano [Sun, 7 Aug 2005 21:11:02 +0000 (14:11 -0700)]
(revert local fix)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Kay Sievers [Sun, 7 Aug 2005 20:39:58 +0000 (22:39 +0200)]
add README
Two files are better than one. :)
Kay Sievers [Sun, 7 Aug 2005 18:29:03 +0000 (20:29 +0200)]
v236
Kay Sievers [Sun, 7 Aug 2005 18:28:53 +0000 (20:28 +0200)]
v235
Kay Sievers [Sun, 7 Aug 2005 18:28:42 +0000 (20:28 +0200)]
v234
Kay Sievers [Sun, 7 Aug 2005 18:28:33 +0000 (20:28 +0200)]
v233
Kay Sievers [Sun, 7 Aug 2005 18:28:01 +0000 (20:28 +0200)]
v232
Kay Sievers [Sun, 7 Aug 2005 18:27:49 +0000 (20:27 +0200)]
v229
Kay Sievers [Sun, 7 Aug 2005 18:27:38 +0000 (20:27 +0200)]
v227
Kay Sievers [Sun, 7 Aug 2005 18:27:27 +0000 (20:27 +0200)]
v225
Kay Sievers [Sun, 7 Aug 2005 18:27:18 +0000 (20:27 +0200)]
v220
Kay Sievers [Sun, 7 Aug 2005 18:26:49 +0000 (20:26 +0200)]
v206
Kay Sievers [Sun, 7 Aug 2005 18:26:38 +0000 (20:26 +0200)]
v205
Kay Sievers [Sun, 7 Aug 2005 18:26:27 +0000 (20:26 +0200)]
v203
Kay Sievers [Sun, 7 Aug 2005 18:26:12 +0000 (20:26 +0200)]
v165
Kay Sievers [Sun, 7 Aug 2005 18:26:03 +0000 (20:26 +0200)]
v164
Kay Sievers [Sun, 7 Aug 2005 18:25:54 +0000 (20:25 +0200)]
v163
Kay Sievers [Sun, 7 Aug 2005 18:25:42 +0000 (20:25 +0200)]
v160
Kay Sievers [Sun, 7 Aug 2005 18:25:27 +0000 (20:25 +0200)]
v157
Kay Sievers [Sun, 7 Aug 2005 18:24:51 +0000 (20:24 +0200)]
v154
Kay Sievers [Sun, 7 Aug 2005 18:24:43 +0000 (20:24 +0200)]
v152
Kay Sievers [Sun, 7 Aug 2005 18:24:35 +0000 (20:24 +0200)]
v150
Kay Sievers [Sun, 7 Aug 2005 18:24:01 +0000 (20:24 +0200)]
v149
Kay Sievers [Sun, 7 Aug 2005 18:23:49 +0000 (20:23 +0200)]
v148
Kay Sievers [Sun, 7 Aug 2005 18:23:35 +0000 (20:23 +0200)]
v145
Kay Sievers [Sun, 7 Aug 2005 18:23:24 +0000 (20:23 +0200)]
v143
Kay Sievers [Sun, 7 Aug 2005 18:23:12 +0000 (20:23 +0200)]
v142
Kay Sievers [Sun, 7 Aug 2005 18:22:53 +0000 (20:22 +0200)]
v136
Kay Sievers [Sun, 7 Aug 2005 18:22:44 +0000 (20:22 +0200)]
v133
Kay Sievers [Sun, 7 Aug 2005 18:21:46 +0000 (20:21 +0200)]
v125
Kay Sievers [Sun, 7 Aug 2005 18:21:34 +0000 (20:21 +0200)]
v121
Kay Sievers [Sun, 7 Aug 2005 18:21:23 +0000 (20:21 +0200)]
v118
Kay Sievers [Sun, 7 Aug 2005 18:21:04 +0000 (20:21 +0200)]
v107
Kay Sievers [Sun, 7 Aug 2005 18:20:20 +0000 (20:20 +0200)]
v089
Kay Sievers [Sun, 7 Aug 2005 18:20:07 +0000 (20:20 +0200)]
v088
Kay Sievers [Sun, 7 Aug 2005 18:19:56 +0000 (20:19 +0200)]
v085
Kay Sievers [Sun, 7 Aug 2005 18:19:45 +0000 (20:19 +0200)]
v082
Kay Sievers [Sun, 7 Aug 2005 18:18:44 +0000 (20:18 +0200)]
v080
Kay Sievers [Sun, 7 Aug 2005 18:18:30 +0000 (20:18 +0200)]
v078
Kay Sievers [Sun, 7 Aug 2005 18:18:13 +0000 (20:18 +0200)]
v077
Kay Sievers [Sun, 7 Aug 2005 18:18:01 +0000 (20:18 +0200)]
v073
Kay Sievers [Sun, 7 Aug 2005 18:17:50 +0000 (20:17 +0200)]
v071
Kay Sievers [Sun, 7 Aug 2005 18:17:42 +0000 (20:17 +0200)]
v070
Kay Sievers [Sun, 7 Aug 2005 18:17:19 +0000 (20:17 +0200)]
v064
Kay Sievers [Sun, 7 Aug 2005 18:17:09 +0000 (20:17 +0200)]
v063
Kay Sievers [Sun, 7 Aug 2005 18:17:00 +0000 (20:17 +0200)]
v062
Kay Sievers [Sun, 7 Aug 2005 18:16:07 +0000 (20:16 +0200)]
v057
Kay Sievers [Sun, 7 Aug 2005 18:15:57 +0000 (20:15 +0200)]
v056
Kay Sievers [Sun, 7 Aug 2005 18:15:44 +0000 (20:15 +0200)]
v055
Kay Sievers [Sun, 7 Aug 2005 18:14:48 +0000 (20:14 +0200)]
v053
rename gitweb.pl to gitweb.cgi
Kay Sievers [Sun, 7 Aug 2005 18:13:11 +0000 (20:13 +0200)]
v049
Kay Sievers [Sun, 7 Aug 2005 18:13:02 +0000 (20:13 +0200)]
v048
Kay Sievers [Sun, 7 Aug 2005 18:12:11 +0000 (20:12 +0200)]
v043
Kay Sievers [Sun, 7 Aug 2005 18:09:33 +0000 (20:09 +0200)]
v042
Kay Sievers [Sun, 7 Aug 2005 18:08:29 +0000 (20:08 +0200)]
v041
Kay Sievers [Sun, 7 Aug 2005 18:08:03 +0000 (20:08 +0200)]
v041
Kay Sievers [Sun, 7 Aug 2005 18:06:09 +0000 (20:06 +0200)]
v035
Kay Sievers [Sun, 7 Aug 2005 18:05:55 +0000 (20:05 +0200)]
v031
Kay Sievers [Sun, 7 Aug 2005 18:05:44 +0000 (20:05 +0200)]
v027
Kay Sievers [Sun, 7 Aug 2005 18:05:32 +0000 (20:05 +0200)]
v026
Kay Sievers [Sun, 7 Aug 2005 18:05:15 +0000 (20:05 +0200)]
v025
Kay Sievers [Sun, 7 Aug 2005 18:03:52 +0000 (20:03 +0200)]
v021
Kay Sievers [Sun, 7 Aug 2005 18:03:14 +0000 (20:03 +0200)]
v021
Kay Sievers [Sun, 7 Aug 2005 18:02:47 +0000 (20:02 +0200)]
v021
Kay Sievers [Sun, 7 Aug 2005 18:02:33 +0000 (20:02 +0200)]
v021
Kay Sievers [Sun, 7 Aug 2005 18:00:05 +0000 (20:00 +0200)]
v020
Kay Sievers [Sun, 7 Aug 2005 17:59:41 +0000 (19:59 +0200)]
v016
Kay Sievers [Sun, 7 Aug 2005 17:59:24 +0000 (19:59 +0200)]
v014
Kay Sievers [Sun, 7 Aug 2005 17:58:12 +0000 (19:58 +0200)]
v006
Kay Sievers [Sun, 7 Aug 2005 17:57:58 +0000 (19:57 +0200)]
v005
Kay Sievers [Sun, 7 Aug 2005 17:56:59 +0000 (19:56 +0200)]
v004
Kay Sievers [Sun, 7 Aug 2005 17:56:44 +0000 (19:56 +0200)]
v003
Kay Sievers [Sun, 7 Aug 2005 17:56:10 +0000 (19:56 +0200)]
v003
Kay Sievers [Sun, 7 Aug 2005 17:55:05 +0000 (19:55 +0200)]
v002
Kay Sievers [Sun, 7 Aug 2005 17:54:31 +0000 (19:54 +0200)]
v001
Kay Sievers [Sun, 7 Aug 2005 17:53:54 +0000 (19:53 +0200)]
v000
Kay Sievers [Sun, 7 Aug 2005 17:52:52 +0000 (19:52 +0200)]
v000
Kay Sievers [Sun, 7 Aug 2005 17:49:46 +0000 (19:49 +0200)]
first working version
Paul Mackerras [Sun, 7 Aug 2005 10:01:24 +0000 (20:01 +1000)]
Use lf translation rather than binary when reading commit data.
The effect of this is that it allows Tcl to do the locale-specific
conversion of the input data to its internal unicode representation.
That means that commit messages in Russian or other languages should
be displayed correctly now (according to the locale that is in effect.)
Junio C Hamano [Sun, 7 Aug 2005 05:29:21 +0000 (22:29 -0700)]
Fix build rules for debian package.
Run install-tools target to install the tools to accept e-mail
patches. Also clean up the main Makefile a bit.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Paul Mackerras [Sun, 7 Aug 2005 05:27:57 +0000 (15:27 +1000)]
Change cursor to a hand cursor when over a SHA1 ID link.
This is based on suggestions by Jeff Epler and Linus Torvalds, but
extended so that we do the switching between the watch cursor and
the normal cursor correctly as well.
Also fixed a bug pointed out by Junio Hamano - I wasn't incrementing
the link number (duh!).
Junio C Hamano [Sun, 7 Aug 2005 03:38:13 +0000 (20:38 -0700)]
Fix RPM build that omitted templates and tools.
Many many thanks go to Chris Wright and H. Peter Anvin whose
help were essential to get me going this build.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sun, 7 Aug 2005 03:54:43 +0000 (20:54 -0700)]
Merge with master.
This merges commit
bfe19f876cb20bea606e1a698030c017f31965c1
from master into our head commit
7a59013290bb26b80c997e5698757a735f1a92e0
Sincerely,
jit-merge command.
Linus Torvalds [Sun, 7 Aug 2005 01:01:03 +0000 (18:01 -0700)]
[PATCH] Extend "git reset" to take a reset point
This was triggered by a query by Sam Ravnborg, and extends "git reset" to
reset the index and the .git/HEAD pointer to an arbitrarily named point.
For example
git reset HEAD^
will just reset the current HEAD to its own parent - leaving the working
directory untouched, but effectively un-doing the top-most commit. You
might want to do this if you realize after you committed that you made a
mistake that you want to fix up: reset your HEAD back to its previous
state, fix up the working directory and re-do the commit.
If you want to totally un-do the commit (and reset your working directory
to that point too), you'd first use "git reset HEAD^" to reset to the
parent, and then do a "git checkout -f" to reset the working directory
state to that point in time too.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 20:10:43 +0000 (13:10 -0700)]
GIT 0.99.4 (release candidate)
This is my first attempt to adjust Debian and RPM to pass
prefix, to prepare the 0.99.4 release.
It updates debian/rules and git-core.spec.in to properly pass
prefix when building binary packages. It also updates
debian/changelog to make the resulting binary package name
0.99.4; this is not needed on the RPM side (it takes the version
number from the main Makefile).
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 19:50:14 +0000 (12:50 -0700)]
Redo the templates generation and installation.
Per discussion with people interested in binary packaging,
change the default template location from /etc/git-core to
/usr/share/git-core hierarchy. If a user wants to run git
before installing for whatever reason, in addition to adding
$src to the PATH environment variable, git-init-db can be run
with --template=$src/templates/blt/ parameter.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 16:28:31 +0000 (09:28 -0700)]
gitk proposed fix: handle more than one SHA1 links.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 17:12:03 +0000 (10:12 -0700)]
send-pack: allow generic sha1 expression on the source side.
This extends the source side semantics to match what Linus
suggested.
An example:
$ git-send-pack kernel.org:/pub/scm/git/git.git pu^^:master pu
would allow me to push the current pu into pu, and the
commit two commits before it into master, on my public
repository.
The revised rule for updating remote heads is as follows.
$ git-send-pack [--all] <remote> [<ref>...]
- When no <ref> is specified:
- with '--all', it is the same as specifying the full refs/*
path for all local refs;
- without '--all', it is the same as specifying the full
refs/* path for refs that exist on both ends;
- When one or more <ref>s are specified:
- a single token <ref> (i.e. no colon) must be a pattern that
tail-matches refs/* path for an existing local ref. It is
an error for the pattern to match no local ref, or more
than one local refs. The matching ref is pushed to the
remote end under the same name.
- <src>:<dst> can have different cases. <src> is first tried
as the tail-matching pattern for refs/* path.
- If more than one matches are found, it is an error.
- If one match is found, <dst> must either match no remote
ref and start with "refs/", or match exactly one remote
ref. That remote ref is updated with the sha1 value
obtained from the <src> sha1.
- If no match is found, it is given to get_extended_sha1();
it is an error if get_extended_sha1() does not find an
object name. If it succeeds, <dst> must either match
no remote ref and start with "refs/" or match exactly
one remote ref. That remote ref is updated with the sha1
value.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 17:16:52 +0000 (10:16 -0700)]
send-pack: allow the same source to be pushed more than once.
The revised code accidentally inherited the restriction that a
reference can be pushed only once, only because the original did
not allow renaming. This is no longer necessary so lift it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Linus Torvalds [Sat, 6 Aug 2005 17:04:50 +0000 (10:04 -0700)]
[PATCH] Make git-sh-setup-script do what it was supposed to do
Duh. A missing && meant that half the tests that git-sh-setup-script were
_meant_ to do were actually totally ignored.
In particular, the git sanity checking ended up only testing that the
GIT_OBJECT_DIRECTORY was sane, not that GIT_DIR itself was..
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 16:24:15 +0000 (09:24 -0700)]
Merge with gitk.
This merges commit
d698206c12a4680a92c5f4894f0345dc7dcfe62a
from gitk into our head commit
2c6e4771959dbe8116f39587d912f1215c06cd0d
Sincerely,
jit-merge command.
Paul Mackerras [Sat, 6 Aug 2005 12:06:06 +0000 (22:06 +1000)]
Add forward and back buttons and make SHA1 IDs clickable links.
When we display the commit message in the details pane, any string
of 40 [0-9a-f] characters that corresponds to a SHA1 ID that we
know about gets turned into a clickable link, and displayed in
blue and underlined.
We now keep a history of commits that we have looked at, and we
have forward and back buttons for moving within the history list.
Johannes Schindelin [Fri, 5 Aug 2005 15:05:02 +0000 (17:05 +0200)]
[PATCH] Assorted documentation patches
[jc: Johannes spent time and effort to see how consistent our
use of terminilogy is, and as a byproduct made these corrections
not related to the terminology unification. I really appreciate
it.]
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Johannes Schindelin [Fri, 5 Aug 2005 15:34:38 +0000 (17:34 +0200)]
[PATCH] git-commit-script fix for degenerated merge
If merging results in an unchanged tree, git-commit-script should not
complain that there's nothing to commit.
Also, add "[--all]" to usage().
[jc: usually there is no reason to record an unchanging merge,
but this code path is triggered only when there is a nontrivial
merge that needed to be resolved by hand, and we should be able
to record the fact that these two tree heads are dealt with as a
regular two-parent commit in order to help later merges.]
Signed-off-by: Junio C Hamano <junkio@cox.net>
Holger Eitzenberger [Thu, 4 Aug 2005 20:49:49 +0000 (22:49 +0200)]
[PATCH] git: use git_mkstemp() instead of mkstemp() for diff generation.
This lets you run git diff in a repository otherwise read-only
to you.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Holger Eitzenberger [Thu, 4 Aug 2005 20:43:03 +0000 (22:43 +0200)]
[PATCH] git: add git_mkstemp()
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Sat, 6 Aug 2005 06:05:33 +0000 (23:05 -0700)]
Fix ref_newer() in send-pack.
When more than two references need to be checked with
ref_newer() function, the second and later calls did not work
correctly. This was because the later calls found commits
retained by the "struct object" layer that still had smudges
made by earlier calls.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano [Fri, 5 Aug 2005 23:50:54 +0000 (16:50 -0700)]
Fix refname termination.
When a new ref is being pushed, the name of it was not
terminated properly.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Petr Baudis [Thu, 4 Aug 2005 22:31:12 +0000 (00:31 +0200)]
[PATCH] Fix git-merge-cache -q
I'm totally stupid and got it backwards, sorry about that.
git-merge-cache -q would mean it's noisy and quiet without any
parameters.
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>