| From | Subject | Date |
|---|---|---|
| Alexander E Genaud | git-pull sets write bit, git-push does not
git-pull sets write bit, git-push does not
Hello,
Background: I am using Git locally with ClearCase upstream. I
initialized a Git repository on top of a ClearCase snapshot view,
while my work branches are in a clone. As ClearCase is particular
about the write bit, I have come to depend on an undocumented feature
of Git. Namely, that git-push preserves read only permissions, while
git-pull sets modified files writable.
Can git-push be relied upon to preserve the write bit (readonly)? Why
is gi...
| Aug 2, 6:32 pm 2008 |
| Matt Pearson | Re: git-pull sets write bit, git-push does not
Push and pull are not opposite operations: the opposite of push is
fetch. This is because pull updates the working copy, while push does
After running this:
$ cat A
A
$ cat ../r1/A
AA
The working copy in r2 was not updated with the changes you pushed to
it (both the content and the mode change).
--
| Aug 2, 7:18 pm 2008 |
| Jon Jensen | [PATCH] Fix reference to Everyday Git, which is an HTML docu...
Signed-off-by: Jon Jensen <jon@endpoint.com>
---
Documentation/git.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 44ea35e..3da5bf0 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -602,7 +602,7 @@ contributors on the git-list <git@vger.kernel.org>.
SEE ALSO
--------
linkgit:gittutorial[7], linkgit:gittutorial-2[7],
-linkgit:everyday[7], linkgit:gitcvs-migration[7],
+link:everyday...
| Aug 2, 5:41 pm 2008 |
| Shawn O. Pearce | git-gui translators - please update translations if necessary
We're getting ready for the git 1.6 release in the not-too-distant
future, and that will ship with gitgui-0.11.
The current tip of my master branch builds as follows. There have
not been many changes in the interface so I don't think there is
much (if any) translation work for this release.
MSGFMT po/de.msg 402 translated.
MSGFMT po/fr.msg 391 translated.
MSGFMT po/hu.msg 391 translated.
MSGFMT po/it.msg 390 translated, 1 untranslated.
MSGFMT po/ja.msg 391 tr...
| Aug 2, 5:17 pm 2008 |
| Junio C Hamano | Re: git-gui translators - please update translations if nece...
Hmm, I am confused.
Grepping po/*.po and po/git-gui.pot for POT-Creation-Date reveals that
po/de.msg is much more recent than po/git-gui.pot and all others are
translating the same POT.
Perhaps you wanted to update git-gui.pot first before sending this request
out?
--
| Aug 2, 5:41 pm 2008 |
| Shawn O. Pearce | Re: git-gui translators - please update translations if nece...
Oh. Its updated now, but msgmerge on my system is busted and won't
update the po files themselves. *sigh*
--
Shawn.
--
| Aug 2, 5:49 pm 2008 |
| Junio C Hamano | Re: git-gui translators - please update translations if nece...
I think that's Ok. msgmerge and edit are in the translators' bailiwick.
--
| Aug 2, 5:51 pm 2008 |
| Junio C Hamano | gitweb status for 1.6.0?
Thanks.
There have been a handful gitweb patches on the list recently (I think
they were all post -rc0 feature enhancements, but I may be mistaken). I'm
wondering what their status are. Does any of them matter in the current
cycle?
By the way, I've privately pinged Paul for gitk status.
--
| Aug 2, 5:28 pm 2008 |
| Junio C Hamano | Re: [PATCH] git-svn.perl: Strip ChangeLog bits.
That's something you would say when I cannot decide the color of
bikeshed. I do not think your change falls into that category.
We could add an ad-hoc preprocessing option like this, and keep adding
more for different patterns, and at certain point we may be fed up with
millions of such options and try to introduce a more generic mechanism.
While doing so, the resulting code needs to support the ad-hoc ones that
are added earlier, forever.
We've done that in the past with other commands (cc-su...
| Aug 2, 5:13 pm 2008 |
| Junio C Hamano | Missing pieces for 1.6.0 on MinGW?
Just a quick question before the weekend ends and -rc2 gets tagged. (I
lost track of that argv0 vs bin/git vs libexec/git-core/git-foo
discussion).
Are there any missing but necessary patches we need before 1.6.0 for
MinGW?
--
| Aug 2, 3:05 pm 2008 |
| Junio C Hamano | Re: git svn and the post-receive hook
Wait a minute.
Isn't "git svn rebase" an operation that you do on your local repository,
slurping the update from the other end and then replaying your change on
top of it? If so, I think it falls into the same category as "post-fetch"
hook which would run after you run fetch, if such a thing existed. See:
http://thread.gmane.org/gmane.comp.version-control.git/79306/focus=79321
for the reason why we usually do not add such a hook on the local end.
--
| Aug 2, 2:22 pm 2008 |
| Junio C Hamano | Re: [PATCH] diff: chapter and part in funcname for tex
Ok on idea, but NAK on implementation.
"A\?" to mean 0 or one "A" in BRE is GNU extention and we try to avoid it.
"A\{0,1\}" is equivalent and we already use the bound notation in "java"
section, so perhaps this is an Ok replacement?
{ "tex", "^\\(\\\\\\(\\(sub\\)*section\\|chapter\\|part\\)\\*\\{0,1\\}{.*\\)$" },
--
| Aug 2, 1:59 pm 2008 |
| Giuseppe Bilotta | [PATCH] diff: chapter and part in funcname for tex
This patch enhances the tex funcname by adding support for
chapter and part sectioning commands. It also matches
the starred version of the sectioning commands.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
As recommended by Junio, use \{0,1\} instead of \?
diff.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/diff.c b/diff.c
index c253015..776bce1 100644
--- a/diff.c
+++ b/diff.c
@@ -1380,7 +1380,7 @@ static struct builtin_funcname_pat...
| Aug 2, 5:56 pm 2008 |
| Pascal Obry | git svn and the post-receive hook
At the moment it seems to me that the post-receive hook is not called
when tracking a remove Subversion repository.
I think it would be nice to call the post-receive hook at the end of:
$ git svn rebase
Why I need this?
I'd like to check for example that if a file has been added to the
remote Subversion repository then it is properly added into a MANIFEST
file. I'd also like to check some style rules. This would help to detect
some problems when one has no way to add hooks on the S...
| Aug 2, 12:05 pm 2008 |
| Junio C Hamano | Re: git svn and the post-receive hook
Are you saying that there may be breakages that is made at the Subversion
side, and you would want to catch it?
What would you do _after_ finding out that somebody screwed up and you
have a borked history on the Subversion side already?
I do not think this belongs to "git svn rebase" (let alone "git rebase",
no way --- you won't rewrite nor reject the upstream even if you find
problems with it).
I understand that you would at least want to notice the damange to the
history that happened at t...
| Aug 2, 2:43 pm 2008 |
| Pascal Obry | Re: git svn and the post-receive hook
Hum... Any hook is very specific to a project. That's why it is a hook
and not a built-in command.
BTW, I do not see why this would be a problem with git-svn whereas the
post-receive hook is fine for Git. In many projects rewriting history is
not permitted but post-receive is quite handy to do some checks.
post-received receive 3 parameters:
- sha before
- sha after
- refname
It is perfectly usable after a git-svn rebase.
Pascal.
--
--|-------------------------...
| Aug 2, 3:20 pm 2008 |
| Junio C Hamano | Re: git svn and the post-receive hook
You probably haven't read Miklos's response have you? post-receive is
about what happens at the remote end after you "push" there, and does not
have to do with what happens when you fetch.
The article I gave you a link earlier gives a guideline to decide when we
choose to add hook for particular step of operation (and when we choose
not to). The new call from "git svn rebase" (and presumably "git svn
fetch" which is the first step of that operation) needs to be justified.
Having said that, I ...
| Aug 2, 4:16 pm 2008 |
| Miklos Vajna | Re: git svn and the post-receive hook
That would be nice, but as far as I understand that is not possible
without ugly hacks like subversion's mod_svn or a CGI script. Or did you
refer to the later?
| Aug 2, 4:45 pm 2008 |
| Miklos Vajna | Re: git svn and the post-receive hook
On Sat, Aug 02, 2008 at 06:05:16PM +0200, Pascal Obry <pascal@obry.net> wro=
Sure. From the "post-receive" hook documentation:
"This hook is invoked by 'git-receive-pack' on the remote repository,
which happens when a 'git-push' is done on a local repository."
f.
git rebase is shell. ;-)
| Aug 2, 2:03 pm 2008 |
| Giuseppe Bilotta | [PATCH] gitweb: ref markers link to named shortlogs
This patch turns ref markers for tags and heads into links to
shortlog/refname. Appropriate changes are made in the CSS to prevent ref
markers to be annoyingly blue and underlined.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
gitweb/gitweb.css | 5 +++++
gitweb/gitweb.perl | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index aa0eeca..2b43eea 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
...
| Aug 2, 11:39 am 2008 |
| Arkadiusz Miskiewicz | [PATCH not ready]: allow cvsimport to use compression when t...
This patch adds ability to git cvsimport use compression
when talking to remote cvs pserver (in normal cvs client using compression
makes things a lot faster so it should help here, too).
Unfortunately it doesn't work due to: new IO::Uncompress::RawInflate()
hanging at constructor. No idea why constructor wants to do read()
over a socket. Maybe whole IO::Compress stuff isn't ready to work over
sockets (that's the question to perl gurus).
Fell free to make it working/improve it. I have no idea h...
| Aug 2, 10:05 am 2008 |
| Jan Nieuwenhuizen | [PATCH] git-svn.perl: Strip ChangeLog bits.
Some projects write ChangeLog entries and use those for svn
commit messages. Converting such a repository makes for
a most uninteresting git log --pretty=oneline output.
482cfc6... 2008-08-01 Kohei Yoshida <kyoshida@novell.com>
90c16d7... 2008-08-01 Fong Lin <pflin@novell.com> * patches/dev300/cws-npow
505fc23... 2008-08-01 Kohei Yoshida <kyoshida@novell.com>
4729379... 2008-08-01 Kohei Yoshida <kyoshida@novell.com>
9e34b85... 2008-07-31 Kohei ...
| Aug 2, 9:42 am 2008 |
| Petr Baudis | Re: [PATCH] git-svn.perl: Strip ChangeLog bits.
Hi!
You forgot to document your option. (And possibly write a testcase.)
Petr "Pasky" Baudis
--
| Aug 2, 1:27 pm 2008 |
| Jan Nieuwenhuizen | Re: [PATCH] git-svn.perl: Strip ChangeLog bits.
Oops :-) I have
EMAIL='Jan Nieuwenhuizen <janneke@gnu.org>'
so I should probably use GIT_EMAIL='janneke@gnu.org' or something. I'll
have a look.
Jan.
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
--
| Aug 2, 2:21 pm 2008 |
| Junio C Hamano | Re: [PATCH] git-svn.perl: Strip ChangeLog bits.
I am not sure if this is generic enough to be in git-svn.perl itself, or
perhaps there should be a hook make_log_entry() would call in the form of
some Perl scriptlet given by the user to munge $log_entry{log}, which
would be very specific to each project.
--
| Aug 2, 1:36 pm 2008 |
| Jan Nieuwenhuizen | Re: [PATCH] git-svn.perl: Strip ChangeLog bits.
If you're not sure, please make up your mind. I agree it's quite a hack
but now it's in the archives for others to find. Doing this in a single
regexp is a bit tricky and asking a user to write a perl snippet is even
worse, imho. Especially if would turn out that stripping changelog bits
is the only thing that the hook is getting used for, in the end. I have
gotten more careful to provide generic solutions to specific problems in
anticipation of possible future desires.
I could imagine that l...
| Aug 2, 2:17 pm 2008 |
| Matti Kaasinen | Re: Is there any hope (format-patch)??
Thanks Daniel,
Ok, I'll try how it works, when I get back to my desk. Well, I'm running
There came quite a lot of complaints from patching directly the origin.
Strange that some were complaints of trying to re-create files. So, I
just wonder if that patching really is needed. I suppose I should try to
Well, hope so - direct patching to origin gave quite lot of complaints.
-Matti
--
| Aug 2, 7:04 am 2008 |
| Christian Stimming | [PATCH] git-gui: Update German translation
The subject says it all. Thanks for the new features.
Christian
| Aug 2, 3:56 am 2008 |
| Shawn O. Pearce | Re: [PATCH] git-gui: Update German translation
Thanks for taking care of this. I was just about to post something
to ask translators for assitance before the 1.6 release goes final.
--
Shawn.
--
| Aug 2, 5:10 pm 2008 |
| Christian Stimming | [PATCH] gitk: Updated German translation.
[Empty message]
| Aug 2, 4:03 am 2008 |
| Giuseppe Bilotta | [PATCH] diff: chapter and part in funcname for tex
This patch enhances the tex funcname by adding support for
chapter and part sectioning commands. It also matches
the starred version of the sectioning commands.
---
I know that technically speaking this should have been two
separate patches because they are two logically separate
changes, but they are really rather braindead so please
accept them as one :)
diff.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/diff.c b/diff.c
index c253015..776bce1 100644
--- a/di...
| Aug 2, 2:35 am 2008 |
| Giuseppe Bilotta | [PATCH] diff: chapter and part in funcname for tex
This patch enhances the tex funcname by adding support for
chapter and part sectioning commands. It also matches
the starred version of the sectioning commands.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
Resend, with Signed-off-by: line
diff.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/diff.c b/diff.c
index c253015..776bce1 100644
--- a/diff.c
+++ b/diff.c
@@ -1380,7 +1380,7 @@ static struct builtin_funcname_pattern {
"^[ ...
| Aug 2, 7:55 am 2008 |
| Lee Marlow | [PATCH] bash completion: remove unused function _git_diff_tree
completion for git diff-tree was removed in 5cfb4fe
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
contrib/completion/git-completion.bash | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 30d8701..e32c1f1 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -721,11 +721,6 @@ _git_diff ()
__git_complete_file
}
-_git_d...
| Aug 2, 12:47 am 2008 |
| Shawn O. Pearce | Aug 2, 4:59 pm 2008 | |
| 陳友中 | PHP購物車資料庫網站專案
山鉧科技網頁設計
我們的宗旨:客戶的每ㄧ件小事情,都是山鉧的大事情
我們在推出企業形象網站包含前台網頁美工+後台管理程式
限時限量專案價 只要$29,900
(在送ㄧ年100MB不限流量網站空間)
我們做的不只是網站,而是您企業的入口
ㄧ個好的企業網站資料即時更新的速度是很重要的
企業e化的高品質團隊,打造您的網路門面
選擇山鉧成就您的夢想
~~~~~~~~~~~~...
| Aug 1, 11:00 pm 2008 |
| Stephan Beyer | [PATCH] builtin-revert.c: typofix
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
---
builtin-revert.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-revert.c b/builtin-revert.c
index e9da870..27881e9 100644
--- a/builtin-revert.c
+++ b/builtin-revert.c
@@ -180,7 +180,7 @@ static void set_author_ident_env(const char *message)
email++;
timestamp = strchr(email, '>');
if (!timestamp)
- die ("Could not extract author email from %s",
+ die ("Could not extract author tim...
| Aug 1, 9:51 pm 2008 |
| Lee Marlow | [PATCH] bash completion: Add more long options for 'git log'
Options added: --parents --children --full-history
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
contrib/completion/git-completion.bash | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 30d8701..7132a68 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -853,6 +853,7 @@ _git_log ()
--stat --numstat --shortstat
--deco...
| Aug 1, 8:56 pm 2008 |
| Shawn O. Pearce | Aug 2, 5:00 pm 2008 | |
| Lee Marlow | [PATCH] bash completion: Add completion for 'git grep'
Added completions for all long options specified in the docs
--cached
--text --ignore-case --word-regexp --invert-match
--full-name
--extended-regexp --basic-regexp --fixed-strings
--files-with-matches --name-only
--files-without-match
--count
--and --or --not --all-match
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
contrib/completion/git-completion.bash | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/...
| Aug 1, 8:56 pm 2008 |
| Shawn O. Pearce | Re: [PATCH] bash completion: Add completion for 'git grep'
Hmm. The has_doubledash test seems redundant since we don't do
anything with args that aren't --foo. Even though git-grep will
accept a tree-ish and thus completion of __git_refs here may
make sense.
I wonder if we shouldn't just add to the end something like:
__gitcomp "$(__git_refs)"
like the _git_reset function does. Then we can complete a tree-ish
for searching, as well as honor -- to stop tree-ish completion and
go back to file/directory completion.
But that is very much a user...
| Aug 2, 5:05 pm 2008 |
| Shawn O. Pearce | Re: More on git over HTTP POST
I have started to think about this more myself, not just for POST
put also for some form of GET that can return an efficient pack,
rather than making the client walk the object chains itself.
Have you looked at the Mecurial wire protocol? It runs over HTTP
and uses a relatively efficient means of deciding where to cut the
transfer at.
http://www.selenic.com/mercurial/wiki/index.cgi/WireProtocol
Most of their smarts are in the branches() and between() operations.
Unfortunately this docum...
| Aug 2, 4:57 pm 2008 |
| Daniel Stenberg | Re: More on git over HTTP POST
Yes it does. The CONNECT method is used to get a full-duplex channel to a
remote site through a HTTP proxy. The downside with that is of course that
most proxies are setup to disallow CONNECT to other ports than 443 (the https
default port).
--
/ daniel.haxx.se
--
| Aug 2, 5:00 pm 2008 |
| Shawn O. Pearce | Re: More on git over HTTP POST
Ah, yes. CONNECT. Very few servers wind up supporting it I think.
I know one very big company who cannot use or support Git because
Git over HTTP is too slow to be useful. They support other tools
like Subversion instead. :-|
Really we just need smart protocol support in half-duplex RPC like
hpa was going after. Then it doesn't matter what we serialize it
into, almost any RPC system will be useful. Of course the only
one that probably matters in practice is HTTP.
--
Shawn.
--
| Aug 2, 5:08 pm 2008 |
| Petr Baudis | Re: More on git over HTTP POST
On what projects? I'm currently using Git over HTTP (read-only) a lot
and it doesn't seem really all that impractical to me. Maybe just using
a more dumb-friendly packing scheme could help a lot?
Petr "Pasky" Baudis
--
| Aug 2, 5:23 pm 2008 |
| Shawn O. Pearce | Re: More on git over HTTP POST
They tested by taking the SVN source code and importing it into
both Git and Hg, then cloned them both over a WAN link. Git was
22x slower. I suspect they didn't pack the Git repository at all,
so Git had to issue thousands of HTTP GET requests for the loose
objects. But I also suspect there was bias in the testing so they
didn't realize they needed to repack, and didn't care to find out.
I've probably already said too much. I'm under NDAs.
But anyway. The point I was trying to make was th...
| Aug 2, 5:32 pm 2008 |
| Junio C Hamano | Re: [PATCH] hash-object --no-filters
I think this is going in the right direction, but I have to wonder a few
things.
First, on hash-object.
(1) "hash-object --stdin" always hashes literally. We may want to be
able to say "The contents is this but pretend it came from this path
and apply the usual input rules", perhaps with "--path=" option;
(2) "hash-object temporaryfile" may want to honor the same "--path"
option;
(3) "hash-object --stdin-paths" may want to get pair of paths (i.e. two
lines per entr...
| Aug 2, 1:28 pm 2008 |
| Junio C Hamano | Re: [PATCH 1/2] clone: Add an option to set up a mirror
I think this would be a useful behaviour and I am very tempted to violate
the general policy of not taking any new options nor features after -rc1.
I however notice that there are differences bewteen the above sequence and
what your code actually does:
- The "remote add --mirror" sequence tells it to mirror everything, but
the patch still mirrors only heads;
- You are not setting up "remote.*.mirror = yes" in the configuration;
--
| Aug 2, 2:55 pm 2008 |
| Johannes Schindelin | [PATCH v2] clone: Add an option to set up a mirror
The command line
$ git clone --mirror $URL
is now a short-hand for
$ git clone --bare $URL
$ (cd $(basename $URL) && git remote add --mirror origin $URL)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
Interdiff to follow.
Documentation/git-clone.txt | 5 ++++-
builtin-clone.c | 24 ++++++++++++++++++++----
t/t5601-clone.sh | 10 ++++++++++
3 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/Documenta...
| Aug 2, 3:38 pm 2008 |
| Junio C Hamano | Re: [PATCH v2] clone: Add an option to set up a mirror
Thanks for a quick turnaround.
--
| Aug 2, 4:46 pm 2008 |
| Johannes Schindelin | Re: [PATCH v2] clone: Add an option to set up a mirror
The interdiff:
diff --git a/builtin-clone.c b/builtin-clone.c
index a45179c..ecdcefa 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -347,6 +347,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
char branch_top[256], key[256], value[256];
struct strbuf reflog_msg;
struct transport *transport = NULL;
+ char *src_ref_prefix = "refs/heads/";
struct refspec refspec;
@@ -445,7 +446,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
git_config...
| Aug 2, 3:39 pm 2008 |
| previous day | today | next day |
|---|---|---|
| August 1, 2008 | August 2, 2008 | August 3, 2008 |
| Peter Zijlstra | [RFC][PATCH 7/7] lockdep: spin_lock_nest_lock() |
| Gabriel C | Re: 2.6.24-rc2-mm1 |
| Andrew Morton | Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP |
| Jiri Kosina | Re: 2.6.21-rc5-mm4 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
