git.git
19 years agoMerge with gitk.
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.

19 years ago(revert local fix)
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>
19 years agoadd README
Kay Sievers [Sun, 7 Aug 2005 20:39:58 +0000 (22:39 +0200)]
add README

Two files are better than one. :)

19 years agov236
Kay Sievers [Sun, 7 Aug 2005 18:29:03 +0000 (20:29 +0200)]
v236

19 years agov235
Kay Sievers [Sun, 7 Aug 2005 18:28:53 +0000 (20:28 +0200)]
v235

19 years agov234
Kay Sievers [Sun, 7 Aug 2005 18:28:42 +0000 (20:28 +0200)]
v234

19 years agov233
Kay Sievers [Sun, 7 Aug 2005 18:28:33 +0000 (20:28 +0200)]
v233

19 years agov232
Kay Sievers [Sun, 7 Aug 2005 18:28:01 +0000 (20:28 +0200)]
v232

19 years agov229
Kay Sievers [Sun, 7 Aug 2005 18:27:49 +0000 (20:27 +0200)]
v229

19 years agov227
Kay Sievers [Sun, 7 Aug 2005 18:27:38 +0000 (20:27 +0200)]
v227

19 years agov225
Kay Sievers [Sun, 7 Aug 2005 18:27:27 +0000 (20:27 +0200)]
v225

19 years agov220
Kay Sievers [Sun, 7 Aug 2005 18:27:18 +0000 (20:27 +0200)]
v220

19 years agov206
Kay Sievers [Sun, 7 Aug 2005 18:26:49 +0000 (20:26 +0200)]
v206

19 years agov205
Kay Sievers [Sun, 7 Aug 2005 18:26:38 +0000 (20:26 +0200)]
v205

19 years agov203
Kay Sievers [Sun, 7 Aug 2005 18:26:27 +0000 (20:26 +0200)]
v203

19 years agov165
Kay Sievers [Sun, 7 Aug 2005 18:26:12 +0000 (20:26 +0200)]
v165

19 years agov164
Kay Sievers [Sun, 7 Aug 2005 18:26:03 +0000 (20:26 +0200)]
v164

19 years agov163
Kay Sievers [Sun, 7 Aug 2005 18:25:54 +0000 (20:25 +0200)]
v163

19 years agov160
Kay Sievers [Sun, 7 Aug 2005 18:25:42 +0000 (20:25 +0200)]
v160

19 years agov157
Kay Sievers [Sun, 7 Aug 2005 18:25:27 +0000 (20:25 +0200)]
v157

19 years agov154
Kay Sievers [Sun, 7 Aug 2005 18:24:51 +0000 (20:24 +0200)]
v154

19 years agov152
Kay Sievers [Sun, 7 Aug 2005 18:24:43 +0000 (20:24 +0200)]
v152

19 years agov150
Kay Sievers [Sun, 7 Aug 2005 18:24:35 +0000 (20:24 +0200)]
v150

19 years agov149
Kay Sievers [Sun, 7 Aug 2005 18:24:01 +0000 (20:24 +0200)]
v149

19 years agov148
Kay Sievers [Sun, 7 Aug 2005 18:23:49 +0000 (20:23 +0200)]
v148

19 years agov145
Kay Sievers [Sun, 7 Aug 2005 18:23:35 +0000 (20:23 +0200)]
v145

19 years agov143
Kay Sievers [Sun, 7 Aug 2005 18:23:24 +0000 (20:23 +0200)]
v143

19 years agov142
Kay Sievers [Sun, 7 Aug 2005 18:23:12 +0000 (20:23 +0200)]
v142

19 years agov136
Kay Sievers [Sun, 7 Aug 2005 18:22:53 +0000 (20:22 +0200)]
v136

19 years agov133
Kay Sievers [Sun, 7 Aug 2005 18:22:44 +0000 (20:22 +0200)]
v133

19 years agov125
Kay Sievers [Sun, 7 Aug 2005 18:21:46 +0000 (20:21 +0200)]
v125

19 years agov121
Kay Sievers [Sun, 7 Aug 2005 18:21:34 +0000 (20:21 +0200)]
v121

19 years agov118
Kay Sievers [Sun, 7 Aug 2005 18:21:23 +0000 (20:21 +0200)]
v118

19 years agov107
Kay Sievers [Sun, 7 Aug 2005 18:21:04 +0000 (20:21 +0200)]
v107

19 years agov089
Kay Sievers [Sun, 7 Aug 2005 18:20:20 +0000 (20:20 +0200)]
v089

19 years agov088
Kay Sievers [Sun, 7 Aug 2005 18:20:07 +0000 (20:20 +0200)]
v088

19 years agov085
Kay Sievers [Sun, 7 Aug 2005 18:19:56 +0000 (20:19 +0200)]
v085

19 years agov082
Kay Sievers [Sun, 7 Aug 2005 18:19:45 +0000 (20:19 +0200)]
v082

19 years agov080
Kay Sievers [Sun, 7 Aug 2005 18:18:44 +0000 (20:18 +0200)]
v080

19 years agov078
Kay Sievers [Sun, 7 Aug 2005 18:18:30 +0000 (20:18 +0200)]
v078

19 years agov077
Kay Sievers [Sun, 7 Aug 2005 18:18:13 +0000 (20:18 +0200)]
v077

19 years agov073
Kay Sievers [Sun, 7 Aug 2005 18:18:01 +0000 (20:18 +0200)]
v073

19 years agov071
Kay Sievers [Sun, 7 Aug 2005 18:17:50 +0000 (20:17 +0200)]
v071

19 years agov070
Kay Sievers [Sun, 7 Aug 2005 18:17:42 +0000 (20:17 +0200)]
v070

19 years agov064
Kay Sievers [Sun, 7 Aug 2005 18:17:19 +0000 (20:17 +0200)]
v064

19 years agov063
Kay Sievers [Sun, 7 Aug 2005 18:17:09 +0000 (20:17 +0200)]
v063

19 years agov062
Kay Sievers [Sun, 7 Aug 2005 18:17:00 +0000 (20:17 +0200)]
v062

19 years agov057
Kay Sievers [Sun, 7 Aug 2005 18:16:07 +0000 (20:16 +0200)]
v057

19 years agov056
Kay Sievers [Sun, 7 Aug 2005 18:15:57 +0000 (20:15 +0200)]
v056

19 years agov055
Kay Sievers [Sun, 7 Aug 2005 18:15:44 +0000 (20:15 +0200)]
v055

19 years agov053
Kay Sievers [Sun, 7 Aug 2005 18:14:48 +0000 (20:14 +0200)]
v053

rename gitweb.pl to gitweb.cgi

19 years agov049
Kay Sievers [Sun, 7 Aug 2005 18:13:11 +0000 (20:13 +0200)]
v049

19 years agov048
Kay Sievers [Sun, 7 Aug 2005 18:13:02 +0000 (20:13 +0200)]
v048

19 years agov043
Kay Sievers [Sun, 7 Aug 2005 18:12:11 +0000 (20:12 +0200)]
v043

19 years agov042
Kay Sievers [Sun, 7 Aug 2005 18:09:33 +0000 (20:09 +0200)]
v042

19 years agov041
Kay Sievers [Sun, 7 Aug 2005 18:08:29 +0000 (20:08 +0200)]
v041

19 years agov041
Kay Sievers [Sun, 7 Aug 2005 18:08:03 +0000 (20:08 +0200)]
v041

19 years agov035
Kay Sievers [Sun, 7 Aug 2005 18:06:09 +0000 (20:06 +0200)]
v035

19 years agov031
Kay Sievers [Sun, 7 Aug 2005 18:05:55 +0000 (20:05 +0200)]
v031

19 years agov027
Kay Sievers [Sun, 7 Aug 2005 18:05:44 +0000 (20:05 +0200)]
v027

19 years agov026
Kay Sievers [Sun, 7 Aug 2005 18:05:32 +0000 (20:05 +0200)]
v026

19 years agov025
Kay Sievers [Sun, 7 Aug 2005 18:05:15 +0000 (20:05 +0200)]
v025

19 years agov021
Kay Sievers [Sun, 7 Aug 2005 18:03:52 +0000 (20:03 +0200)]
v021

19 years agov021
Kay Sievers [Sun, 7 Aug 2005 18:03:14 +0000 (20:03 +0200)]
v021

19 years agov021
Kay Sievers [Sun, 7 Aug 2005 18:02:47 +0000 (20:02 +0200)]
v021

19 years agov021
Kay Sievers [Sun, 7 Aug 2005 18:02:33 +0000 (20:02 +0200)]
v021

19 years agov020
Kay Sievers [Sun, 7 Aug 2005 18:00:05 +0000 (20:00 +0200)]
v020

19 years agov016
Kay Sievers [Sun, 7 Aug 2005 17:59:41 +0000 (19:59 +0200)]
v016

19 years agov014
Kay Sievers [Sun, 7 Aug 2005 17:59:24 +0000 (19:59 +0200)]
v014

19 years agov006
Kay Sievers [Sun, 7 Aug 2005 17:58:12 +0000 (19:58 +0200)]
v006

19 years agov005
Kay Sievers [Sun, 7 Aug 2005 17:57:58 +0000 (19:57 +0200)]
v005

19 years agov004
Kay Sievers [Sun, 7 Aug 2005 17:56:59 +0000 (19:56 +0200)]
v004

19 years agov003
Kay Sievers [Sun, 7 Aug 2005 17:56:44 +0000 (19:56 +0200)]
v003

19 years agov003
Kay Sievers [Sun, 7 Aug 2005 17:56:10 +0000 (19:56 +0200)]
v003

19 years agov002
Kay Sievers [Sun, 7 Aug 2005 17:55:05 +0000 (19:55 +0200)]
v002

19 years agov001
Kay Sievers [Sun, 7 Aug 2005 17:54:31 +0000 (19:54 +0200)]
v001

19 years agov000
Kay Sievers [Sun, 7 Aug 2005 17:53:54 +0000 (19:53 +0200)]
v000

19 years agov000
Kay Sievers [Sun, 7 Aug 2005 17:52:52 +0000 (19:52 +0200)]
v000

19 years agofirst working version
Kay Sievers [Sun, 7 Aug 2005 17:49:46 +0000 (19:49 +0200)]
first working version

19 years agoUse lf translation rather than binary when reading commit data.
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.)

19 years agoFix build rules for debian package.
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>
19 years agoChange cursor to a hand cursor when over a SHA1 ID link.
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!).

19 years agoFix RPM build that omitted templates and tools.
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>
19 years agoMerge with master.
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.

19 years ago[PATCH] Extend "git reset" to take a reset point
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>
19 years agoGIT 0.99.4 (release candidate)
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>
19 years agoRedo the templates generation and installation.
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>
19 years agogitk proposed fix: handle more than one SHA1 links.
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>
19 years agosend-pack: allow generic sha1 expression on the source side.
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>
19 years agosend-pack: allow the same source to be pushed more than once.
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>
19 years ago[PATCH] Make git-sh-setup-script do what it was supposed to do
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>
19 years agoMerge with gitk.
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.

19 years agoAdd forward and back buttons and make SHA1 IDs clickable links.
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.

19 years ago[PATCH] Assorted documentation patches
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>
19 years ago[PATCH] git-commit-script fix for degenerated merge
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>
19 years ago[PATCH] git: use git_mkstemp() instead of mkstemp() for diff generation.
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>
19 years ago[PATCH] git: add git_mkstemp()
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>
19 years agoFix ref_newer() in send-pack.
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>
19 years agoFix refname termination.
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>
19 years ago[PATCH] Fix git-merge-cache -q
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>