| From | Subject | Date |
|---|---|---|
| Alexander Litvinov | Getting new branches from remote repo.
Hello list,
I have a trouble I don't know how to solve. When I am cloning remote
repo I automatically get all it's branches stored at my repo (they are
listed at .git/remotes/origin). When someone adds new branch(es) to
remote repo git pull (git fetch) does not automatically add them to my
repo. I have a tool to list all remote branches (git ls-remote --heads
origin) but I can't find how to add interesting (or all) branches to
by repo.
By the way, how can I clone remote repo created by cloning a...
| Nov 13, 12:33 am 2006 |
| Junio C Hamano | Re: Getting new branches from remote repo.
After finding out $that_new_branch's name, add either
Pull: refs/heads/$that_new_branch:refs/heads/$that_new_branch
or if you are in "separate remote" school, then perhaps
Pull: refs/heads/$that_new_branch:refs/remotes/origin/$that_new_branch
to .git/remotes/origin and running git fetch would give you what
Well, the point of "separate remote" is not to pollute local
heads/ namespace with refs that merely track remote repository,
so if you say "ls-remote --heads" you would not see them. ...
| Nov 13, 12:49 am 2006 |
| XP Software | New software uploaded by Debra on Nov 13 00:40:00 MSK 2006
Debra has uploaded some new software for you!
Click here to view available updated software:
http://krugosoft.com/?Debra
people available to do it.
o General purpose hardware such as disk drives, memory or complete
supply their own customised ``Makefile'', so that almost every port
serial port parameters [such as clocal for directly-connected serial
process. You will need to know, at the minimum, your service
terms of the software and make sure that the FreeBSD project will not
(everyth...
| Nov 12, 5:50 pm 2006 |
| Jonas Fonseca | [PATCH] git-update-index(1): fix use of quoting in section t...
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
Documentation/git-update-index.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 41bb7e1..0e0a3af 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -216,8 +216,8 @@ $ git ls-files -s
------------
-Using "assume unchanged" bit
-----------------------------
+Using ``assume unchanged'' ...
| Nov 12, 5:28 pm 2006 |
| Karl | [StGIT PATCH] StGIT bash completion
From: Karl Hasselström <kha@treskal.com>
A minimal bash completion script for StGIT. It completes the
subcommand names, and options and patch names for some subcommands.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
I'm not good at all at bash programming -- this script was basically
put together by pattern-matching Shawns git completion code -- so
comments are even more welcome than usual.
contrib/stgit-completion.bash | 156 +++++++++++++++++++++++++++++++++++++++++
...
| Nov 12, 5:18 pm 2006 |
| Junio C Hamano | Re: Shallow clone
I think that makes sense.
-
| Nov 12, 4:04 pm 2006 |
| Junio C Hamano | Re: should git download missing objects?
There are the invariants between refs and objects:
- objects that its refs (files under .git/refs/ hierarchy that
record 40-byte hexadecimal object names) point at are never
missing, or the repository is corrupt.
- objects that are reachable via pointers in another object
that is not missing (a tag points at another object, a commit
points at its tree and its parent commits, and a tree points
at its subtrees and blobs) are never missing, or the repository
is corrupt.
Git...
| Nov 12, 3:41 pm 2006 |
| Robin Rosenberg | [PATCH] Adapt to fuse in kernel 2.6.17
From: Robin Rosenberg <robin.rosenberg@dewire.com>
---
Makefile | 2 +-
api-fuse.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 8668a03..e80661f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ GITCFLAGS = '-DSHA1_HEADER=<openssl/sha.
GITLDFLAGS = $(GITDIR)/libgit.a -lcrypto -lz
# What flags are required to build against FUSE
-FUSECFLAGS = '-DFUSE_HEADER="/usr/src/linux-2.6.14.4/include/linux/fuse.h"'
+FUS...
| Nov 12, 2:45 pm 2006 |
| Robin Rosenberg | Re: [PATCH] Adapt to fuse in kernel 2.6.17
This was a patch to GITFS, which may be somewhat unclear from the Subject
line :)
-- robin
-
| Nov 12, 2:56 pm 2006 |
| Jeff Garzik | Re: [PATCH] Adapt to fuse in kernel 2.6.17
I blinked, and I missed it. Where can I find gitfs? I've long thought
about doing something like that myself.
Jeff
-
| Nov 12, 3:31 pm 2006 |
| Robin Rosenberg | Re: [PATCH] Adapt to fuse in kernel 2.6.17
It's listed on the wiki and located at
http://www.sfgoth.com/~mitch/linux/gitfs/
-- robin
-
| Nov 12, 4:01 pm 2006 |
| Junio C Hamano | Re: [PATCH] Adapt to fuse in kernel 2.6.17
http://git.or.cz/gitwiki/InterfacesFrontendsAndTools lists it at
http://www.sfgoth.com/~mitch/linux/gitfs/
Fuse seems to be fun.
-
| Nov 12, 3:43 pm 2006 |
| Seth Falcon | gitk broken or user error?
Hi,
I get the following error when invoking gitk with any command line
argument, for example, 'gitk --all':
ziti:~/proj/R-devel seth$ gitk --all
Error in startup script: unknown option "-state"
while executing
".bar.view entryconf 3 -state normal"
invoked from within
"if {$cmdline_files ne {} || $revtreeargs ne {}} {
# create a view for the files/dirs specified on the command line
set curview 1
set selec..."
(file "/Users/seth/s...
| Nov 12, 1:00 pm 2006 |
| Jakub Narebski | Re: when is a remote a branch?
Not about 'remotes', but about 'remote [read-only] branches', i.e. refs not
Read Documentation/repository-layout.txt (ot it's HTML version, either
locally ot at www.kernel.org).
branches::
A slightly deprecated way to store shorthands to be used
to specify URL to `git fetch`, `git pull` and `git push`
commands is to store a file in `branches/'name'` and
give 'name' to these commands in place of 'repository'
argument.
You can store only one branc...
| Nov 12, 12:11 pm 2006 |
| Petr Baudis | Re: when is a remote a branch?
I think the above is quite confusing description. This really is not
about any "shorthands" at all, but just about branches (how the name
implies, after all).
Git and Cogito share the same models of branches. These branches are
'heads' with commit pointers stored in refs/heads/, etc. The branches/
directory says that some branches do not correspond to local development
(and should never be used for that) but instead they correspond to a
particular branch in some remote repository. Such branches a...
| Nov 12, 12:36 pm 2006 |
| Jakub Narebski | Re: when is a remote a branch?
Well, it is a shorthand in a way that you can just use "git fetch"
or "cg fetch" to fetch correct branch without need for URL.
But I agree that the description (although of deprecated feature)
Not exactly. "Live" branches (i.e. branches you can commit to) are head
refs stored in refs/heads/. But in repository cloned with git-clone
--use-separate-remotes tracking heads (tracking branches) would be at
refs/remotes/<remotename>/. You can fetch to such a ref, but you can't
I'd rather call t...
| Nov 12, 1:31 pm 2006 |
| Anand Kumria | when is a remote a branch?
Hi,
I generally tend to use cogito -- it does all the heavy lifting, like
recovering from interrupted fetchs (usually) for me. One thing I haven't
really gotten my head around is the difference between a branch and a
remote.
git-branch knows of 'remotes' (via the -r parameter) and these to be
unrelated to what cogito thinks remotes are (it seems to look for things
in .git/refs/head/<name> and then a corresponding .git/branches/<name>/
which it then declares a remote).
Yet, git-in...
| Nov 12, 11:50 am 2006 |
| Anand Kumria | should git download missing objects?
Hi,
I did an initial clone of Linus' linux-2.6.git tree, via the git protocol,
and then managed to accidently delete one of the .pack and
corresponding .idx files.
I thought that 'cg-fetch' would do the job of bring down the missing pack
again, and all would be well. Alas this isn't the case.
<http://pastebin.ca/246678>
Pasky, on IRC, indicated that this might be because git-fetch-pack isn't
downloading missing objects when the git:// protocol is being used.
Should it? Is there a ma...
| Nov 12, 11:44 am 2006 |
| Robin Rosenberg | [PATCH] Rework cvsexportcommit to handle binary files for al...
Now adding, removing and changing binary files works. I added test cases to make sure
it works and can be verified by others. Som other corner cases were resolved too.
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index 5e23851f8cf866112baf3e76973a8ca649d5c105..78c847ec906af8044e43f55d860a0652eff3e759 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -139,6 +139,17 @@ foreach my $f (@fi...
| Nov 12, 11:29 am 2006 |
| Junio C Hamano | Re: [PATCH] Rework cvsexportcommit to handle binary files fo...
Thanks.
It is necessary to clarify what these other corner cases are in
the commit log message. Three months down the road you yourself
would not remember what they were.
You seem to like:
my $p = "m,^$pathname\$,";
if (grep $p,@array) { do this... }
but this is a bad habit. $pathname can contain regexp
metacharacters or a comma. You should just say:
if (grep { $_ eq $pathname } @arrray) { do this... }
instead. I'd fix them up with the attached patch.
It would also b...
| Nov 13, 12:39 am 2006 |
| Junio C Hamano | Re: Shallow clone
That's interesting.
: gitster; git clone -n --depth 1 git://127.0.0.1/git.git victim-001
remote: Generating pack...
remote: Done counting 6246 objects.
remote: Deltifying 6246 objects.
remote: 100% (6246/6246) done
Indexing 6246 objects.
remote: Total 6246, written 6246 (delta 3106), reused 4313 (delta 3106)
100% (6246/6246) done
Resolving 3106 deltas.
100% (3106/3106) done
: gitster; cd victim-001
: gitster; ls -lh .git/objects/pack/
total 9.6M
drwxrwsr-x 2 ...
| Nov 12, 4:16 am 2006 |
| Sergey Vlasov | Re: Shallow clone
This is due to optimization in builtin-pack-objects.c:try_delta():
/*
* We do not bother to try a delta that we discarded
* on an earlier try, but only when reusing delta data.
*/
if (!no_reuse_delta && trg_entry->in_pack &&
trg_entry->in_pack == src_entry->in_pack)
return 0;
After removing this part the shallow pack after clone is 2.6M, as it
should be.
The problem with this optimization is that it is only valid if we are
repacking either the same ...
| Nov 12, 1:59 pm 2006 |
| Junio C Hamano | Re: Shallow clone
That is correct. How about something like this?
I think the determination of "repacking_superset" may need to be
tweaked because existing packs may have overlaps, and the patch
counts them once per pack.
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 69e5dd3..fb25124 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -64,6 +64,7 @@ struct object_entry {
static unsigned char object_list_sha1[20];
static int non_empty;
static int no_reuse_delta;
+st...
| Nov 12, 5:59 pm 2006 |
| Junio C Hamano | gitweb some known issues
Visit git.git gitweb page (http://repo.or.cz/w/git.git would
work fine if git.kernel.org is too busy), and click on "GIT 1.4.4-rc1"
to view the tag (not the commit).
The navigation bar has commit/commitdiff/tree with explicit h
and hb object names that point at 'master', which feels wrong.
When the tag that is displayed points at a commit, perhaps we
would want to use that commit for commit and commitdiff? When
the tag does not point at a commit (which is admittably very
rare), probably not showi...
| Nov 12, 2:28 am 2006 |
| Junio C Hamano | What's in git.git
Execuive summary.
I've tagged the tip of 'master' as v1.4.4-rc2 tonight. In the
meantime, GIT 1.4.3.5 was cut from the 'maint' branch.
We hopefully can declare the real 1.4.4 soon enough, before the
turkey time.
----------------------------------------------------------------
* The 'maint' branch has these fixes since the last announcement.
Eric Wong (3):
git-svn: avoid printing filenames of files we're not tracking
git-svn: don't die on rebuild when --upgrade is specified...
| Nov 12, 2:07 am 2006 |
| Junio C Hamano | [ANNOUNCE] GIT 1.4.3.5
The latest maintenance release GIT 1.4.3.5 is available at the
usual places:
http://www.kernel.org/pub/software/scm/git/
git-1.4.3.5.tar.{gz,bz2} (tarball)
git-htmldocs-1.4.3.5.tar.{gz,bz2} (preformatted docs)
git-manpages-1.4.3.5.tar.{gz,bz2} (preformatted docs)
RPMS/$arch/git-*-1.4.3.5-1.$arch.rpm (RPM)
The 'master' front has been very quiet and it will hopefully
soon produce 1.4.4 but in the meantime here is primarily to fix
git-svn correctness issues.
--------------------...
| Nov 12, 1:23 am 2006 |
| Petr Baudis | Re: StGIT repository not clonable?
curl can, but it might very easily get even much more expensive than
downloading the whole patch unless your latency is very small and
bandwidth very tight, which would be quite a unusual situation.
It's true that repacking can hurt dumb protocols - if you repack often,
dumb clients will have to re-fetch the single whole patck with all the
stuff they already have plus the few additional objects they are
missing.
But at least packing once can be a huge improvement and won't hurt the
dumb client...
| Nov 12, 11:36 am 2006 |
| Horst H. von Brand | Re: StGIT repository not clonable?
Here it is 1.4.3.4 or 1.4.4.rc2, selfbuilt on i386 (Fedora rawhide up to
That isn't the issue for me at least...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513
-
| Nov 12, 12:17 pm 2006 |
| Horst H. von Brand | Re: StGIT repository not clonable?
Thanks! But the failure to pull/clone the original would mean something is
wrong with your HTTP repo then (or my git setup). Nobody else seeing this?
Strangely, other HTTP repos (e.g., <http://jonas.nitro.dk/tig/tig.git>,
<http://www.spearce.org/projects/scm/pg.git>) work fine. Perhaps git gets
miscompiled with gcc-4.1.1-32 and CFLAGS='-O2 -fomit-frame-pointer' on
i386?
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica ...
| Nov 12, 8:12 pm 2006 |
| Johannes Schindelin | Re: What's in git.git
Hi,
For now, it does not say "part of the truncated history". But yes, shallow
clones are partial copies of remote repositories, by making some commits
"shallow", i.e. grafting an empty set of parents onto them (thereby
pretending that these commits are root commits).
Telling the user that a commit is shallow should not be too hard.
Ciao,
Dscho
-
| Nov 12, 6:25 pm 2006 |
| Petr Baudis | Re: Shallow clone [Was Re: What's in git.git ]
Hmm, shouldn't the shallow file rather belong to the info/ subdirectory?
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
-
| Nov 12, 9:12 am 2006 |
| Karl | [StGIT PATCH 0/2] mail and import tests
Tests for "stg import" and "stg mail". The later test is not very
ambitious, but it can always be extended later.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
-
| Nov 12, 5:14 pm 2006 |
| Karl | [StGIT PATCH 2/2] Regression test for "stg mail"
From: Karl Hasselström <kha@treskal.com>
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
t/t1900-mail.sh | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/t/t1900-mail.sh b/t/t1900-mail.sh
new file mode 100755
index 0000000..6a950b4
--- /dev/null
+++ b/t/t1900-mail.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+# Copyright (c) 2006 Karl Hasselström
+test_description='Test the mail command'
+. ./test-lib.sh
+
+test_expec...
| Nov 12, 5:15 pm 2006 |
| Karl | [StGIT PATCH 1/2] Regression test for "stg import"
From: Karl Hasselström <kha@treskal.com>
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
t/t1800-import.sh | 85 ++++++++++++++++++++++++++++++++++++++
t/t1800-import/email-8bit | 37 ++++++++++++++++
t/t1800-import/email-mbox | 102 +++++++++++++++++++++++++++++++++++++++++++++
t/t1800-import/email-qp | 37 ++++++++++++++++
t/t1800-import/git-diff | 20 +++++++++
t/t1800-import/gnu-diff | 19 ++++++++
t/t1800-import/stg-export | 26 ++++++++++...
| Nov 12, 5:15 pm 2006 |
| previous day | today | next day |
|---|---|---|
| November 11, 2006 | November 12, 2006 | November 13, 2006 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Rafael J. Wysocki | [Bug #11798] [Radeon Xpress 1100 IGP] DRI fail on recent kernel updates |
| Dave Kleikamp | Re: [RFC] Heads up on sys_fallocate() |
| Arnd Bergmann | SCHED_IDLE documentation |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
