| From | Subject | Date |
|---|---|---|
| Andreas Ericsson | [PATCH] Let users override name of per-directory ignore file
When collaborating with projects managed by some other
scm, it often makes sense to have git read that other
scm's ignore-files. This patch lets git do just that, if
the user only tells it the name of the per-directory
ignore file by specifying the newly introduced git config
option 'core.ignorefile'.
Theoretically, this could cause problems when projects get
ported from some other scm to git, but in practice that
is a moot point, as such changes are always followed by a
flagday ...
| Oct 15, 5:09 am 2007 |
| Benoit Sigoure | [PATCH 4/5] Add git svn proplist.
* git-svn.perl (%cmd): Add the command `proplist'.
(&cmd_proplist): New.
* t/t9101-git-svn-props.sh: Test git svn proplist.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
git-svn.perl | 17 +++++++++++++++++
t/t9101-git-svn-props.sh | 21 +++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index e58ff38..466fdd3 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -132,6 +132,9 @@ my %cmd = (
...
| Oct 15, 8:35 am 2007 |
| Benoit Sigoure | [PATCH 5/5] Simplify the handling of fatal errors.
* git-svn.perl (&fatal): Append the newline at the end of the error
message.
Adjust all callers.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
git-svn.perl | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 466fdd3..1a6aa14 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -21,12 +21,12 @@ $Git::SVN::Log::TZ = $ENV{TZ};
$ENV{TZ} = 'UTC';
$| = 1; # unbuffer STDOUT
-sub ...
| Oct 15, 8:35 am 2007 |
| Benoit Sigoure | [PATCH 0/5] Add easy access to SVN properties in git-svn.
Hello,
this is a fairly simple patch series that adds easy access to SVN properties
from within git-svn.
The first patch simply factors some code that was used for
git-svn show-ignore in order to easily implement git-svn create-ignore (2nd
patch). The 3rd and 4th patch implement git-svn propget / proplist to easily
access SVN properties. The last patch does some cleanup because I found it
more convenient to not have to remember to add a `\n' at the end of each
error message.
...
| Oct 15, 8:34 am 2007 |
| Benoit Sigoure | [PATCH 2/5] Implement git svn create-ignore.
* git-svn.perl (%cmd): Add the new command `create-ignore'.
(&cmd_create_ignore): New.
* t/t9101-git-svn-props.sh: Adjust the test-case for show-ignore and
add a test case for create-ignore.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
git-svn.perl | 27 +++++++++++++++++++++++++++
t/t9101-git-svn-props.sh | 28 +++++++++++++++++++++++++---
2 files changed, 52 insertions(+), 3 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index abc83ec..94091ea ...
| Oct 15, 8:35 am 2007 |
| Benoit Sigoure | [PATCH 1/5] Add a generic tree traversal to fetch SVN pr ...
* git-svn.perl (&traverse_ignore): Remove.
(&prop_walk): New.
(&cmd_show_ignore): Use prop_walk.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
git-svn.perl | 66 ++++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 46 insertions(+), 20 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 777e436..abc83ec 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -488,7 +488,15 @@ sub cmd_show_ignore {
my ($url, $rev, $uuid, $gs) = ...
| Oct 15, 8:35 am 2007 |
| Benoit Sigoure | [PATCH 3/5] Add git svn propget.
* git-svn.perl (%cmd): Add the new command `propget'.
($cmd_dir_prefix): New global.
(&get_svnprops): New helper.
(&cmd_propget): New. Use &get_svnprops.
* t/t9101-git-svn-props.sh: Add a test case for propget.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
git-svn.perl | 57 ++++++++++++++++++++++++++++++++++++++++++++++
t/t9101-git-svn-props.sh | 23 ++++++++++++++++++
2 files changed, 80 insertions(+), 0 deletions(-)
diff --git a/git-svn.perl ...
| Oct 15, 8:35 am 2007 |
| Christian Couder | [PATCH] rev-list documentation: add "--bisect-all".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
Documentation/git-rev-list.txt | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
Le lundi 15 octobre 2007, Frank Lichtenheld a écrit :
>
> --bisect-all is still missing a Documentation/ patch.
Thanks for catching that.
Here is a patch.
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index 7cd0e89..f6dd0c4 100644
--- a/Documentation/git-rev-list.txt
+++ ...
| Oct 15, 8:59 pm 2007 |
| franky | should git command and git-command be equivalent?
I use git-init frequently and it confuses me for a long time that I
can't init a bare repository.
I just found I can do that by "git -bare init". However, I get used
to "git-init" and I always tried "git-init -bare" (of course failed)
And I thought git-init and "git init" were always the same as most
newbies of git. So, should git init and git-init be equivalent? If not, I
think the document should be supplemented to clarify this.
franky
-
| Oct 15, 8:22 pm 2007 |
| franky | Is there any plan to support partial checkout or submoud ...
Here is my pain when using git without partial checkout and submodule
improvement.
I want to manage src and compiled bin together consistently. And
when deploying, I don't need the src directory.
My directory structure is like
Project
Src
Bin
Following is two schemes I have considered
1. src, bin as two submoudles
When changes are made in src, compiled binaries are put in bin
directory. So when I commit, I have to commit 3 times and write 3 commit
comments separately ...
| Oct 15, 8:20 pm 2007 |
| Shawn O. Pearce | [PATCH] Fix compilation when NO_CURL is defined
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
There were a few places which did not cope well without curl. This
fixes all of them. We still need to link against the walker.o part
of the library as some parts of transport.o still call into there
even though we don't have HTTP support enabled.
If compiled with NO_CURL=1 we now get the following useful error
message:
$ git-fetch http://www.example.com/git
error: git was compiled without libcurl support.
fatal: Don't know ...
| Oct 15, 4:48 pm 2007 |
| Johannes Schindelin | Re: [PATCH] Fix compilation when NO_CURL is defined
Hi,
Nice!
I like it.
Ciao,
Dscho
-
| Oct 15, 5:05 pm 2007 |
| Johannes Schindelin | [PATCH] cvsexportcommit: get rid of temporary directory
Since commit e86ad71fe5f53ae4434566bd09ea4256090e5a3a we do not use
a temporary directory in cvsexportcommit. So there is no need to set
one up.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
git-cvsexportcommit.perl | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index a33fa8d..6b0123c 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -30,11 +30,6 @@ if ($opt_d) ...
| Oct 15, 3:32 pm 2007 |
| Mark Watts | Re: Switching from CVS to GIT
Not just git. This driver has known issues with a number of pieces of software.
The company I work with uses Delphi quite a bit and they also have Logitech
WebCams for the devs and for some reason this driver makes debugging impossible
with Delphi. I have personally experienced this. I have also heard of this
Logitech software having problems with other software too. I have not however
tracked down exactly WHY this piece of software causes so much grief, only
that it ...
| Oct 15, 1:05 pm 2007 |
| Petr Baudis | Re: [PATCH] Git homepage: remove all the references to Cogito
I'm not sure this is good idea, Cogito is still quite frequently used
and it should be documented that it exists.
--
Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
-- James Thurber
-
| Oct 15, 7:19 pm 2007 |
| Paolo Ciarrocchi | [PATCH] Git homepage: remove all the references to Cogito
It sounds like a good idea to remove all the references to Cogito from the git homepage since it's not longer supported.
Changes tested with a local installation of the web server lighttpd
Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
---
index.html | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/index.html b/index.html
index 340aee0..41605ed 100644
--- a/index.html
+++ b/index.html
@@ -94,7 +94,6 @@ Junio C Hamano.</p>
-->
<br /><a ...
| Oct 15, 2:38 pm 2007 |
| Steffen Prohaska | Re: Switching from CVS to GIT
Gnuarch [1] recommends zsh from the unxutils project [2].
Steffen
[1] http://www.gnuarch.org/gnuarchwiki/Native_WIN32_Support
[2] http://unxutils.sourceforge.net/
-
| Oct 15, 1:43 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
I have the slight suspicion that we will somehow have problems with
/etc/gitconfig, /share/git-gui/ and friends, should we try to use zsh. At
least with gitbox, we can hack a "/" translation for scripts.
Ciao,
Dscho
-
| Oct 15, 1:46 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
No, but thanks no. You haven't been around long enough on this list to
count the issues, but it is known that ActiveState Perl is close to
There is a port of BusyBox' dash, which is nearing completion. Once
Nguyen says it is ready enough, we will try to integrate it into msysGit.
Ciao,
Dscho
-
| Oct 15, 1:19 pm 2007 |
| Nguyen Thai Ngoc Duy | Re: Switching from CVS to GIT
All zsh links in [2] are dead. I did try hard to find the legendary
zsh for Windows before giving up and porting busybox's ash instead. If
--
Duy
-
| Oct 15, 7:24 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
I think you mean Amol's zsh (there's no GnuWin32 port of zsh AFAIK).
Amol's zsh is what I use, but it has a few annoying bugs, even after I
fixed some, that prevent it from running a typical configure script,
for example.
-
| Oct 15, 2:08 pm 2007 |
| Brian Dessent | Re: Switching from CVS to GIT
In terms of the MSYS/Cygwin style of fork emulation, large memory
allocations shouldn't pose any real problem, but they will be slow as
the fork emulation has to manually replicate the state of the parent in
the child and this means copying memory extents. (Yes, horribly ugly,
no doubt about it, but it allows for porting.)
This emulation code is sensitive enough that the Cygwin list has begun
to maintain a list of software whose hooks/interference can cause Cygwin
apps to fail: ...
| Oct 15, 1:05 pm 2007 |
| Brian Dessent | Re: Switching from CVS to GIT
Fair enough. You can move it to another directory in order to delete
the containing directory -- this is what Cygwin does to placate posix
That is because the MSYS runtime is based on an old version of Cygwin,
and it uses the same dirty tricks to emulate fork. These tricks rely on
having a repeatably consistent memory layout for a process each time it
is started, and when third party tools add hooks that affect the load
order or otherwise screw with the layout, the fork emulation fails. ...
| Oct 15, 12:07 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
I'm not smart enough to know without debugging it. W2K and WXP have
different system libraries and somewhat different memory layouts. A
bug can get away on one, but not on the other.
-
| Oct 15, 2:06 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
Sounds like a bug to me.
-
| Oct 15, 12:48 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
Ah, thanks for the explanation! (I knew that this thread still had
We never had the problem in git itself, since we never used fork() on
Windows. The problem lies in our usage of bash and perl.
Bash we can fix in the long run (this goes under the keyword
"builtinification" on the git list), but I do not see our reliance on Perl
going away, not for git {send-email,cvsimport,cvsexportcommit,svn}.
These are not too common operations, so common users will be able to do
without ...
| Oct 15, 12:27 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
To me, too. Alas, it works on W2k, so where is the bug?
Ciao,
Dscho
-
| Oct 15, 12:58 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
No, not yet. The problem is not so much ash, as Nguyen, who said that
gitbox is not there yet.
Ciao,
Dscho
-
| Oct 15, 1:36 pm 2007 |
| Linus Torvalds | Re: Switching from CVS to GIT
I thought busybox was being used for the core commands? Is ash not
complete/usable enough (with all the fixes git has had for broken shells)
to be used?
I do agree that perl looks unavoidable, but I thought the windows port
already avoided at least bash. Not true?
(or is it just that even with ash, you end up hitting all the same issues
with cygwin/msys?)
Linus
-
| Oct 15, 1:24 pm 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Hmm... Could the allocation of large contiguous blocks also lock the
system hard? For instance, I avoid starting the test suite on my XP
workstation at work: it locks up hard every time. W2k works.
The system has nothing unusual in it. Well, it has an antivirus
program (which hopefully stopped working after a series of crashes,
which is just as well), an NVidia card with native driver (which is
broken in its own usual ways). Maybe that's enough
-
| Oct 15, 12:42 pm 2007 |
| Jeff King | Re: [PATCH] Documentation/git-tag.txt: Document how to b ...
s/you/your/
-Peff
-
| Oct 15, 1:35 pm 2007 |
| Michael Olson | [PATCH] Documentation/git-tag.txt: Document how to backd ...
Added a new section beneath "On Automatic following" called "On
Backdating Tags". This includes an explanation of when to use this
method, a brief explanation of the kind of date that can be used in
GIT_AUTHOR_DATE, and an example invocation of git-tag using a custom
setting of GIT_AUTHOR_DATE.
Signed-off-by: Michael W. Olson <mwolson@gnu.org>
---
[Resending, this time without trying to send through Gmane and munge
Reply-To.]
Documentation/git-tag.txt | 21 +++++++++++++++++++++
1 ...
| Oct 15, 10:51 am 2007 |
| Michael Olson | Re: [PATCH] Documentation/git-tag.txt: Document how to b ...
Added a new section beneath "On Automatic following" called "On
Backdating Tags". This includes an explanation of when to use this
method, a brief explanation of the kind of date that can be used in
GIT_AUTHOR_DATE, and an example invocation of git-tag using a custom
setting of GIT_AUTHOR_DATE.
Signed-off-by: Michael W. Olson <mwolson@gnu.org>
---
Fixed; thanks.
Documentation/git-tag.txt | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git ...
| Oct 15, 3:53 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
[excluding make-w32 list as per explicit request]
No, it is not equivalent. For example, you can still see the file. For
example, you cannot reuse the filename for another file. And -- the
killer -- you cannot remove the directory which contains the file.
But really, we have workarounds in place to make this a non-issue.
My bigger concerns are the performance and stability. For example, I had
a very annoying problem on one of the machines I am testing msysGit on.
The ...
| Oct 15, 11:44 am 2007 |
| Brian Dessent | Re: Switching from CVS to GIT
I did not misunderstand. The semantics are equivalent to the POSIX
case: you end up with a handle to an open file that is exclusive to that
process (it cannot be opened by any other process, even root) and that
is automatically reclaimed by the filesystem when all open handles are
closed, without any explicit action by the user. It's not "unlinking an
open file", no, but it's the same result.
Brian
-
| Oct 15, 11:37 am 2007 |
| Michael W. Olson | [PATCH] git-rebase--interactive.sh: Quote arguments to test
If /bin/sh is /bin/dash, then the script will display an error if
$parent_sha1 is undefined. This patch works fixes the issue by
quoting both arguments to `test'. Arguments composed solely of
variable expansions should always be quoted, unless we know for
certain that the contents are defined.
Signed-off-by: Michael W. Olson <mwolson@gnu.org>
---
Resending, this time directly to the mailing list instead of via Gmane.
git-rebase--interactive.sh | 2 +-
1 files changed, 1 ...
| Oct 15, 10:48 am 2007 |
| David Kågedal | [PATCH] Make the output of "git svn clone" less confusing.
The problem is that the first thing it prints is
Initialized empty Git repository in .git/
even if actually created a subdirectory and changed into it first. But to the
user, it looks like it is creating a .git/ dir in the directory he/she is
started git from.
---
git-svn.perl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
This change makes it more chatty, which might not be a good thing. But
I think the previous output was worse.
diff --git a/git-svn.perl ...
| Oct 15, 8:21 am 2007 |
| David Kastrup | Re: [PATCH 2/3] Quoting paths in tests
Since I consider it unlikely that Jonathan is making your life harder
on purpose, it might be somewhat more helpful to offer submission
advice:
Jonathan, try
git rebase -i HEAD~3
or so in order to consolidate the last 3 patches you did. Interactive
rebase is one useful manner of munging history until it looks
reasonably nice for submission. One major point of git's distributed
operation is that one can clean up the development history locally
before handing things out.
That makes ...
| Oct 15, 7:03 am 2007 |
| Johannes Schindelin | [PATCH] Fix compilation with NO_CURL
There were a few places which did not cope well without curl. This
fixes all of them.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
transport.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/transport.c b/transport.c
index 6fe6ec8..438b557 100644
--- a/transport.c
+++ b/transport.c
@@ -1,7 +1,9 @@
#include "cache.h"
#include "transport.h"
#include "run-command.h"
+#ifndef NO_CURL
#include "http.h"
+#endif
#include ...
| Oct 15, 6:52 am 2007 |
| Andreas Ericsson | [PATCH] Let users override name of per-directory ignore file
When collaborating with projects managed by some other
scm, it often makes sense to have git read that other
scm's ignore-files. This patch lets git do just that, if
the user only tells it the name of the per-directory
ignore file by specifying the newly introduced git config
option 'core.ignorefile'.
Theoretically, this could cause problems when projects get
ported from some other scm to git, but in practice that
is a moot point, as such changes are always followed by a
flagday ...
| Oct 15, 5:30 am 2007 |
| Benoit SIGOURE | Re: git-svn and submodules
That's entirely true, it's more of a workaround than a real
solution. Anyways, there could be other situations in which someone
would like to generate the .gitignore instead of using .git/info/
exclude, so this feature could be useful anyways.
I can try to address this issue later, if I have enough free time in
my hands to do so.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
| Oct 15, 3:53 am 2007 |
| David Kastrup | Re: git-svn and submodules
Well, then this should be fixed in git general, by sorting the ignores
(wildcards in the first place where they can match), and then just
moving those patterns that can actually match according to sort order
to the list of fnmatch candidates (and moving those files that can't
match anymore die to the sort order out again).
I don't think that the final "solution" for avoiding a lousy global
O(n^2) algorithm is to replace it with lousy local O(n^2) algorithms
and just hope for smaller values of ...
| Oct 15, 3:14 am 2007 |
| Andreas Ericsson | Re: git-svn and submodules
Ah, finally found the thread. I sent a core.ignorefile patch to the list
(Let users decide the name of the ignore file) a while ago, but didn't
find this mail to respond to. My apologies.
It's one way of solving it, which I'm currently using, although not so
fitting for when you're importing svn repos permanently.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Oct 15, 9:27 am 2007 |
| Johannes Sixt | [PATCH resend] gitk: Do not pick up file names of "copy ...
From: Johannes Sixt <johannes.sixt@telecom.at>
A file copy would be detected only if the original file was modified in the
same commit. This implies that there will be a patch listed under the
original file name, and we would expect that clicking the original file
name in the file list warps the patch window to that file's patch. (If the
original file was not modified, the copy would not be detected in the first
place, the copied file would be listed as "new file", and this whole matter
would ...
| Oct 15, 3:08 am 2007 |
| Jonathan del Strother | [PATCH 2/2] Fixing gitk indentation
From: Jonathan del Strother <jon.delStrother@bestbefore.tv>
Just tweaking some minor indentation issues in gitk
Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
---
gitk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gitk b/gitk
index ee2a6f5..9b3e627 100755
--- a/gitk
+++ b/gitk
@@ -838,11 +838,11 @@ proc makewindow {} {
bindall <1> {selcanvline %W %x %y}
#bindall <B1-Motion> {selcanvline %W %x %y}
if {[tk ...
| Oct 15, 2:33 am 2007 |
| Jonathan del Strother | [PATCH 1/2] gitk: Added support for OS X mouse wheel
From: Jonathan del Strother <jon.delStrother@bestbefore.tv>
(Väinö Järvelä supplied this patch a while ago for 1.5.2. It no longer
applied cleanly, so I'm reposting it.)
MacBook doesn't seem to recognize MouseRelease-4 and -5 events, at all.
So i added a support for the MouseWheel event, which i limited to Tcl/tk
aqua, as i couldn't test it neither on Linux or Windows. Tcl/tk needs to
be updated from the version that is shipped with OS X 10.4 Tiger, for
this patch to work.
Signed-off-by: ...
| Oct 15, 2:33 am 2007 |
| Jonathan del Strother | [PATCH 0/2] gitk: Added support for OS X mouse wheel
Alright, let's try again. First patch fixes the mouse wheel, second patch fixes the weird indentation
-
| Oct 15, 2:33 am 2007 |
| David Kastrup | Re: [PATCH 0/7] Bisect dunno
Huh? void is a type, not a value. void would insinuate that it was
wrong to ask the question, not that its answer could not be
Well, I don't.
Basically, I would say that this seems to be so much a matter of
personal taste that we should at this point of time leave the decision
of how to pick this to Junio. Whether this gets resolved by vote or
by authority: seems like the fine lines are no longer worth the time
invested in discussing them.
--
David Kastrup
-
| Oct 15, 1:25 am 2007 |
| Eygene Ryabinkin | [PATCH] git-svn: use "no warnings 'once'" to disable fal ...
Some variables coming from the Subversion's Perl bindings are used
in our code only once, so the interpreter warns us about it. These
warnings are false-positives, because the variables themselves are
initialized in the binding's guts, that are made by SWIG.
Credits to Sam Vilain for his note about "no warnings 'once'".
Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
---
git-svn.perl | 86 +++++++++++++++++++++++++++------------------------------
1 files changed, 41 insertions(+), ...
| Oct 15, 12:19 am 2007 |
| Jeff King | [PATCH] git-rebase: document suppression of duplicate commits
git-rebase uses format-patch's --ignore-if-in-upstream
option, but we never document the user-visible behavior. The
example is placed near the top of the example list rather
than at the bottom because it is:
a. a simple example
b. a reasonably common scenario for many projects (mail
some patches which get accepted upstream, then rebase)
Signed-off-by: Jeff King <peff@peff.net>
---
And whoever said procrastination didn't get things done?
Documentation/git-rebase.txt | 25 ...
| Oct 14, 9:47 pm 2007 |
| Michael Witten | Re: [PATCH] git-rebase: document suppression of duplicat ...
Thanks.
I'm pretty bad at setting priories, so I apologize for
saying I'm swamped and then turning around to submit
other patches.
Sincerely,
Michael Witten
-
| Oct 15, 2:47 am 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
No it is not. A process will always see the same filesystem object
under the same path at the any given time (IOW, you can't have many
namespaces active at the same time).
-
| Oct 15, 10:38 am 2007 |
| David Kastrup | Re: Switching from CVS to GIT
dak@lola:/home/tmp/emacs$ mkdir -p /tmp/a/b
dak@lola:/home/tmp/emacs$ cd /tmp/a/b
dak@lola:/tmp/a/b$ sudo mount --bind /usr /tmp/a
Password:
dak@lola:/tmp/a/b$ command pwd
/tmp/a/b
dak@lola:/tmp/a/b$ ls -l
total 0
dak@lola:/tmp/a/b$ ls -l /tmp/a/b
ls: /tmp/a/b: No such file or directory
dak@lola:/tmp/a/b$
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
| Oct 15, 12:26 pm 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Well don't do that in your repos (unless need that for something).
It is not like someone creates a distribution which does it
automagically all the time and you're forced to use that distribution.
-
| Oct 15, 12:30 pm 2007 |
| Steffen Prohaska | Re: Switching from CVS to GIT
Ok, so I uploaded the most recent preview of the installer to
http://msysgit.googlecode.com/files/WinGit-1.5.3-preview20071010.exe
Note, we're about to release an updated version soon. Personally,
I don't plan to put work in providing tar balls. A working installer
msysgit's GitMe contains all tools from MSYS required to build git.
It also clones the git source and compiles it. It doesn't install
anything outside the folder that you chose upon installation.
I strongly believe it is ...
| Oct 15, 2:23 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
I prefer GCC (the MinGW port), but without the MSYS ports of
additional tools. I use the GnuWin32 ports augmented by some of my
own (where GnuWin32 ports are buggy or terribly slow).
-
| Oct 15, 4:09 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
Sorry I wasn't clear: I want neither. I don't think I will have
enough free time to become an active contributor to GIT any time
soon. OTOH, since binaries are not available (and I'd prefer a
tarball as opposed to an installer, to be more in control of what's
being installed and where), I asked about the development tools
(compiler and Binutils, obviously, but what else?) required to build
the source tarball with MinGW tools.
Do I understand correctly that building GIT currently requires ...
| Oct 15, 1:20 am 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
Last time I checked, POSIX was already an abstraction, thankyouverymuch.
Anyway, this discussion gets out of hand. The question was: does Git work
on Windows natively, and the answer as far as you are concerned is: yes.
Ciao,
Dscho
-
| Oct 15, 1:34 am 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
If you could make Git compile with Visual C++, that would be fabulous.
TIA,
Dscho
-
| Oct 15, 1:47 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
I, for one, appreciate all the hard work invested in that.
While we are at that: can you (or someone else) point me to
instructions on how to build the MinGW port of GIT? I found a tarball
of the MinGW-ported GIT (v1.5.3, I think), but what I don't seem to be
able to find is some kind of HOWTO: what tools I need to have
installed, how to configure them (if there are any special issues
there), what command(s) to type, etc. Is there anything like that out
there, or can someone post such ...
| Oct 14, 11:04 pm 2007 |
| Benoit SIGOURE | Re: Switching from CVS to GIT
But as Eli pointed out, it's not universal, so you need higher
Not at all, actually I think some interesting points were made,
including on the technical side of the thing.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
| Oct 15, 2:02 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
Okay, thanks a lot for the info.
-
| Oct 15, 4:06 am 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
He misunderstood. It is not what you meant. You cannot remove the open
file. What he talks about is removing the file after it is _closed_.
Junk.
-
| Oct 15, 10:56 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
Thanks, I will try.
-
| Oct 15, 5:37 am 2007 |
| Steffen Prohaska | Re: Switching from CVS to GIT
If you want to have a full working development environment, such that
you can start contributing to msysgit right away, and have no firewall
issues, go to
http://code.google.com/p/msysgit/
and install GitMe, currently
http://msysgit.googlecode.com/files/GitMe-0.4.2.exe
If you only care about an end-user setup, which contains only the git
binaries on your system, but no tools to compile them, stay tuned for
one or two days. We'll release an updated installer soon.
Steffen
-
| Oct 15, 12:56 am 2007 |
| Paul Smith | Re: Switching from CVS to GIT
OK, enough. I am extremely grateful for the porting and maintenance
efforts of the GNU make porting team (since I have no Windows--or Amiga,
or OS/2, or OpenVMS--systems to maintain these ports myself) and I'm not
going to choose a tool unless it supports their environment and helps
them to work more efficiently (or at least no less efficiently). I'm
not interested in getting into a pissing match over which operating
system is better or worse, and I'm certainly not interested in ...
| Oct 15, 11:29 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
No, you need to think in abstractions rather than POSIX-isms, and then
No, you need to think abstractions like `absolute_file_name' and
Stop thinking POSIX. Think abstractions that are common to POSIX and
non-POSIX systems. If you think POSIX, don't be surprised that it
Yes, you can, nowadays. But that doesn't mean it was TRT to use such
dirty tricks to implement temporary files or security. One needs to
think in abstractions again, and leave the implementation to each
Only if the ...
| Oct 14, 9:12 pm 2007 |
| Johannes Sixt | Re: Switching from CVS to GIT
They should work, too. If a tool is missing, ought to notice it soon enough.
These are important to note, though:
- The tools must not do their own LF->CRLF conversion when they are used in
a pipeline, "just because they know it better".
- GNU tar is needed (in the cpio emulator).
- ln must be able to create hard links on NTFS or do the equivalent of
cp -p
- GNU cp -al will be needed and should create hard links on NTFS. (I plan to
use it for local clones in place of cpio ...
| Oct 15, 5:31 am 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
It's not hard, it's just a bit of work. And it needs to be done
exactly once.
-
| Oct 14, 11:08 pm 2007 |
| David Kastrup | Re: Switching from CVS to GIT
They aren't. One can mount the same file system several times in
different places. In Linux, one can even mount directories and files
to several places at once. Most Unices also support some
case-insensitive file systems, and readlink does not canonicalize the
Not even that. A unique identifier for files would imply that
touching the file does not affect, say, the access times of files with
other unique identifiers.
--
David Kastrup
-
| Oct 15, 1:57 am 2007 |
| Martin Langhoff | Re: Switching from CVS to GIT
I'm a unix-head too. Last couple of weeks had to work on a windows
server, and installed msysGit. Very impressed - all the needed
I think msys' DLLs might be doing what cygwin does, an emulated fork.
A quite surprising thing is that msysgit manages to be very fast. Not
as fast as the same git, same hw running on a recent Linux, but pretty
usable fast for a tree with a few thousand files. Earlier/other git
ports to win32 are pretty slow (still faster than svn and friends, ...
| Oct 14, 10:43 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
... yes! There you have it. Absolute filenames, resolved by readlink()
are assumed to be the unique (!) identifiers for the contents.
_Note:_ absolute paths _without_ readlink() resolving are _still_ unique
identifiers; this time for files/symlinks.
Things like this utter rubbish that two different file names (which are
the keys in the keystore that a filesystem really is) make Windows'
filesystem operations so slow.
I wonder when Windows heads will realise that this ...
| Oct 15, 1:44 am 2007 |
| Dave Korn | RE: Switching from CVS to GIT
291 /* Thanks, Bill. You'll burn in hell for that. */
;-)
cheers,
DaveK
--
Can't think of a witty .sigline today....
-
| Oct 15, 4:16 am 2007 |
| Martin Langhoff | Re: Switching from CVS to GIT
I've been using it recently, I have to say it's pretty impressive -
you can use it from cmd.com or from a bash window (courtesy of the
msys environment included). The GUIs that ship with git are there
(git-gui, gitk).
I use gitk extensively, and it works *great*. My work-style is of a
shell window for status/diff/commit actions and one or more gitk
windows for browsing of proj history. You can use git-gui for a visual
status/git/commit workflow, or qgit. qgit is more integrated, and
might ...
| Oct 14, 10:35 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
That is no longer true, for quite some time. NT4 and later versions
Maybe GIT assumes too much about `readdir' and `stat', and should
What _I_ meant is that the C: part is part of the full file name,
There's no need for mmap to get memory performance, except if sbrk and
friends are too slow.
-
| Oct 14, 9:06 pm 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
They tend to be so exactly because they know how pathetic they are.
They just want to have something where they don't suck and do
everything to find it. And fail. Then they resort to graphics and
user-friendly interface.
-
| Oct 15, 10:49 am 2007 |
| Andreas Ericsson | Re: Switching from CVS to GIT
Before someone beats me to it: "Patches welcome" ;-)
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Oct 15, 3:16 am 2007 |
| Johannes Sixt | Re: Switching from CVS to GIT
Let others do the research for you, hm?
http://repo.or.cz/w/git/mingw.git?a=blob;f=compat/mingw.c;h=2554f19765da5709b787e873da...
-- Hannes
-
| Oct 15, 3:38 am 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Not really. I meant that "/a/b/c" and "/a/b/c". Note the leading
slash. On windoze it is _NOT_ absolute path. It is relative to the
root of the current drive.
-
| Oct 15, 10:53 am 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Yep. Will do.
-
| Oct 15, 12:34 pm 2007 |
| Andreas Ericsson | Re: Switching from CVS to GIT
Yup. Although it was more in the nature of "whoever wrote it surely knows
he/she did it and where to find the patch", so I expect this wasn't much
of a timesink for you. My apologies if I was incorrect.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Oct 15, 3:52 am 2007 |
| Dave Korn | RE: Switching from CVS to GIT
Translation: "I feel that I am superior to other people. This post has no
content apart from me shooting my mouth off in an attempt to prove how much
cleverer I am than anyone else. However apart from my self-love I have no
contribution to make to the discussion."
This isn't slashdot. A computer is just a tool, and it's really *you* who
are being pathetic, because you confuse a choice of mass-manufactured consumer
product with a statement about personal identity. Loyalty to your ...
| Oct 15, 11:25 am 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Like: "damn, it is just IMPOSSIBLE to implement without them corner
cases."
-
| Oct 15, 10:36 am 2007 |
| Johannes Schindelin | RE: Switching from CVS to GIT
Hi,
I sense a classical Stockholm Syndrome here ;-)
Ciao,
Dscho
-
| Oct 15, 11:34 am 2007 |
| Daniel Barkalow | Re: Switching from CVS to GIT
Responding only to those portions where I think Windows experience and a
Windows perspective would be helpful...
I believe the hassle is that readdir doesn't necessarily report a README in
a directory which is supposed to have a README, when it has a readme
instead. I think we want O(n) comparison of sorted lists, which doesn't
We want getting stat info, using readdir to figure out what files exist,
for 106083 files in 1603 directories with a hot cache to take under 1s;
otherwise "git ...
| Oct 15, 5:45 pm 2007 |
| Johannes Sixt | Re: Switching from CVS to GIT
FWIW, I'm using the MinGW port from cmd.exe, i.e. not from a posix shell, on
a *production* repository. gitk and git-gui work. Not all operations that I
regularly use are available[*] via the GUIs, like git-rebase or
non-fast-forwarding push, so the use of the command line is needed from time
to time.
Unfortunately, "Fetch" does not yet work[*] from within git-gui, so you have
to fall back to git-fetch on the command line.
Of course, the Posix toolset, including a shell, must still be ...
| Oct 14, 11:39 pm 2007 |
| Shawn O. Pearce | Re: Switching from CVS to GIT
Rebase in git-gui is starting to be developed. But its still not even
close to something I can use, let alone that I would be willing to ship
to another person for testing.
Force push (non-fast-forwarding push) is in git-gui.git's master
branch now as part of the 0.9.x series. There's a new checkbox
option in the push dialog to trigger adding --force to git-push
What's broken? Is this that Git protocol dump showing up in
git-gui's console window thing?
Are you using the C based fetch ...
| Oct 15, 4:12 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
That's because you think file names are simple strings and can be
compared by simple string comparison. This naìve view is not true
even on POSIX systems: "foo/bar" and "/a/b/foo/bar" can be the same
file, as well as "/a/b/c/d" and "/x/y/z", given the right symlinks.
But for some reason that eludes me, people who are accustomed to POSIX
stop right there and in effect say "file names are strings, if we only
make them absolute and resolve links". Instead, recognize that file
names are not ...
| Oct 14, 10:56 pm 2007 |
| Linus Torvalds | Re: git blame crashes with internal error
Yes. What's going on is that "ce_mode = 0" is a magic marker for an
unmerged entry (set up by things like diff-lib.c:do_diff_cache() and
builtin-read-tree.c:read_tree_unmerged()) and the ce_match_stat_basic()
function gets upset about this.
I'm not entirely sure that the whole "ce_mode = 0" case is a good idea to
begin with, and maybe the right thing to do is to remove that horrid
freakish special case, but removing the internal error seems to be the
simplest fix for ...
| Oct 15, 8:39 am 2007 |
| Johannes Schindelin | Re: [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunn ...
Hi,
Ah, that explains it! But do you not need to do "2,bad|2,good|2,dunno" in
that case? Or even better: "2,*"?
Thanks,
Dscho
-
| Oct 15, 5:38 am 2007 |
| Christian Couder | Re: [PATCH 0/7] Bisect dunno
Yeah, or "avoid".
Christian.
-
| Oct 15, 8:41 pm 2007 |
| David Symonds | Re: [PATCH 0/7] Bisect dunno
That's also why I suggested "skip"; you might not be able to test a
particular commit, but you might also not *want* to test a particular
commit for some reason.
Dave.
-
| Oct 15, 4:53 am 2007 |
| David Symonds | Re: [PATCH 0/7] Bisect dunno
"skip"? That would make semantic sense, right?
Dave.
-
| Oct 14, 11:15 pm 2007 |
| Johan Herland | Re: [PATCH 0/7] Bisect dunno
...or we could go all spaghetti western, and call it "ugly".
(as in "git-bisect [the <good>, the <bad> and the <ugly>]")
Have fun! :)
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net
-
| Oct 15, 12:02 am 2007 |
| Marius Storm-Olsen | Re: [PATCH 0/7] Bisect dunno
What then about a good'ol programming favorite, "void"? :-)
I agree that "unknown" might be a state even _before_ a person has=20
determined if a case is good or bad (same for 'dunno' actually: "- Do=20
you know if it works? - I dunno yet") When I think more about it, I=20
really like "void"..
"Argh, this test is void, because someone messed with it"
"We can't make heads or tails of this one, so it must be void"
--=20
=2Emarius
| Oct 14, 11:04 pm 2007 |
| Wincent Colaiuta | Re: [PATCH 0/7] Bisect dunno
<personal opinion>
Yes, it's funny, but I don't think an SCM interface is a place for
jokes or puns. Git already has one big tongue-in-cheek attribute:
it's name, so let's leave it at that.
</personal opinion>
Cheers,
Wincent
-
| Oct 15, 2:31 am 2007 |
| Geert Bosch | Re: [PATCH 0/7] Bisect dunno
Skip seems a great choice: it directly expresses the wish to
not consider a certain commit. The reason is unimportant.
-
| Oct 15, 1:33 pm 2007 |
| David Kastrup | Re: [PATCH 0/7] Bisect dunno
But it is an _action_, while "good" and "bad" are properties.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
| Oct 15, 1:47 pm 2007 |
| Johannes Schindelin | Re: [PATCH] [BUG FIXED 2] git-add (-a|-u) and -n support
Hi,
It's not in the archives. Just send your stuff, and let the list be a
filter for Junio. He'll be overwhelmed with the amount of emails already.
If I were to give him some advice, it would be to just delete all git list
mails in his inbox and ask for people to resend their latest and greatest,
_after_ he had a look at what Lars collected.
Ciao,
Dscho
-
| Oct 15, 7:54 am 2007 |
| Michael Witten | Re: [PATCH] git-add (-a|-u) and -n support
I apologize, though I got your first email about
Documentation/SubmittingPatches after I had sent
in this patch; I had gone rummaging around the homepage
for some information, but had found nothing special.
I just submitted a patch (properly!) to Petr Baudis
Don't worry, I didn't take it personally ;-)
Sincerely,
Michael Witten
-
| Oct 15, 2:09 am 2007 |
| Karl | Re: [PATCH] [BUG FIXED 2] git-add (-a|-u) and -n support
As I recall, Junio had some specific reason for calling the flag -u
instead of -a. Search in the list archive for the patch that
introduced the flag, or wait till he gets back and ask him.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
-
| Oct 15, 7:31 am 2007 |
| Michael Witten | Re: [PATCH] [BUG FIXED 2] git-add (-a|-u) and -n support
I have a feeling it was because -u currently just updates modified
files in the current directory, while -a updated all modified files.
Fortunately, the suggestion above does not break anything.
Michael Witten
P.S.
When is Junio coming back? I know I know... Look through the
archives. :-P-
| Oct 15, 7:47 am 2007 |
| Jeff King | Re: [PATCH] git-add (-a|-u) and -n support
Hi Michael,
Thank you for submitting a patch! However, please make sure you read
SubmittingPatches carefully. Your message should consist of the regular
mail headers (as generated by git-format-patch + whatever else you want
to add), the commit message, a line containing "---", and then the diff.
Any cover letter material should go after the "---".
IOW, the format the git-format-patch generates is actually a mail in the
correct format. If you can convince your mailer to use that as ...
| Oct 14, 9:20 pm 2007 |
| Benoit SIGOURE | Re: Performance issue with excludes (was: Re: git-svn an ...
There is no .gitignore, only .git/info/exclude.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
| Oct 15, 9:51 am 2007 |
| Karl | Re: git-svn and submodules
I built ignore support for git-svnignore a long time ago. It converts
the per-directory svn:ignore to per-directory .gitignore at commit
import time, which is very handy:
-I <ignorefile_name>::
Import the svn:ignore directory property to files with this
name in each directory. (The Subversion and GIT ignore
syntaxes are similar enough that using the Subversion patterns
directly with "-I .gitignore" will almost always just work.)
The only downside with that ...
| Oct 15, 7:45 am 2007 |
| Andreas Ericsson | Re: git-svn and submodules
How spoiled we are. I just ran cvs status on a checkout of a repo located
on a server in the local network. It took 6 seconds to complete :P
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Oct 15, 3:00 am 2007 |
| Benoit SIGOURE | Re: git-svn and submodules
Hehe, true, once you get used to the taste of Git, you'll never want
to switch back to these disgusting SCMs.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
| Oct 15, 3:51 am 2007 |
| Benoit SIGOURE | Re: Performance issue with excludes (was: Re: git-svn an ...
I fail to see how the mechanism work then. You said that I needed to
add the .gitignore before adding all the other bummer stuff, fair
enough. AFAIK .git/info/exclude doesn't need to be added, it's just
there. But you can try to change the test, add the .git/info/exclude
*first* and then make a commit and then add all the bummer stuff and
then commit, and finally, do a git-status, for me it still takes 9s.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
| Oct 15, 10:38 am 2007 |
| Benoit SIGOURE | Re: git-svn and submodules
Thanks for making this another thread because I didn't read the
answers to that patch and I was going to try and implement this
(svn:externals via submodules) sooner or later. Hadn't I seen this,
we'd probably end up duplicating effort. Maybe I can help with the
implementation?
This week I'm probably going to start to dive in git-svn by
implementing simpler things first:
- git svn create-ignore (to create one .gitignore per directory
from the svn:ignore properties. This has ...
| Oct 15, 12:07 am 2007 |
| Linus Torvalds | Re: git-svn and submodules
Ouch.
That sounds largely unavoidable.. *But*.
Maybe we have a bug here. In particular, we generally shouldn't care about
the exclude/.gitignore file for ay paths that we know about, which means
that during an import, we really shouldn't ever even care about
.gitignore, since all the files are files we are expected to know about.
So yes, in general, "git status" is going to be slow in a tree that has
been built (since things like object files etc will have to be checked
against ...
| Oct 15, 8:53 am 2007 |
| Linus Torvalds | Re: Performance issue with excludes (was: Re: git-svn an ...
I think your test is scrogged. You should add the ".gitignore" file
*before* you do the "git add .". That's when it's going to hurt (since
that's when you have new files you don't yet know about).
But then it should hurt only for the "git add ." phase, not for anything
else (unless we have the performance bug of doing the ignore matching even
on files we know about). And more importantly, it should hurt only once
(since afterwards, we'll know about the files and know not to ignore ...
| Oct 15, 9:34 am 2007 |
| Benoit SIGOURE | Performance issue with excludes (was: Re: git-svn and su ...
I re-used the test that was posted some time ago:
------------------------------------------------------------------------
---
#
# first create a tree of roughly 100k files
#
mkdir bummer
cd bummer
for ((i=0;i<100;i++)); do
mkdir $i && pushd $i;
for ((j=0;j<1000;j++)); do
echo "$j" >$j; done; popd;
done
#
# init and add this to git
#
time git init
git config user.email "no@thx"
git config user.name "nothx"
time git add .
time git commit -m 'buurrrrn' -a
for ...
| Oct 15, 9:17 am 2007 |
| Linus Torvalds | Re: Performance issue with excludes (was: Re: git-svn an ...
They do exactly the same thing (apart from the nesting nature of
.gitignore wrt subdirectories), so that doesn't change anything.
Linus
-
| Oct 15, 10:10 am 2007 |
| Chris Shoemaker | .gitignore and svn:ignore [WAS: git-svn and submodules]
Has anyone put any thought into mapping the other direction?
i.e. .gitignore -> svn:ignore
-chris
-
| Oct 15, 8:14 am 2007 |
| Jeff King | Re: [PATCH] Color support added to git-add--interactive.
BTW, this approach is totally bogus. The hunks that we store end up
getting fed back to git-apply when we stage them (which doesn't
understand the color codes).
Just try using your patch to actually stage a hunk; nothing happens (and
the error is almost impossible to see, since we show the bogus diff on
stderr).
So now I am doubly convinced that colorizing the diffs in
add--interactive is the right thing (and it looks like Tom Tobin has
already done a fair bit of the work).
-Peff
-
| Oct 14, 9:12 pm 2007 |
| Shun Kei Leung | Re: git-fast-import crashes
Hi,
Sorry for the late reply. I was away from my computer in the weekend.
Hi Pierre,
I didn't try:
http://git.madism.org/?p=git.git;a=commit;h=7406e83342cd445ac38c1753c5fce75377737e2f
because the bad commit turns out to be b449f4c according to `git bisect'.
Hi Shawn,
I include the output of `git count-objects -v' for your information:
count: 104
size: 552
in-pack: 10652
packs: 12
prune-packable: 0
garbage: 0
Regards,
Kevin Leung
-
| Oct 14, 9:53 pm 2007 |
| Shun Kei Leung | Re: git-fast-import crashes
> I don't get the reason for your "because" but so be it.
Well, my reasoning was that the commit didn't touch the convert.c. But
after re-reading the patch, I think I should apply and test with the
patch again.
The repository is private, and it is in maintenance mode for the rest
of today. I will get back to you tomorrow with updates.
Thanks & regards,
Kevin Leung
-
| Oct 15, 1:19 am 2007 |
| Pierre Habouzit | Re: git-fast-import crashes
I don't get the reason for your "because" but so be it. The commit you
show is not obviously broken to me, especially not in fast-import.c, so
I'll need more input. Could you please run your test in valgrind and
report the output please? Or if the data to reproduce the bug are online
or shareable, it'd be great to share, so that I can reproduce the issue
here.
--=20
=C2=B7O=C2=B7 Pierre Habouzit
=C2=B7=C2=B7O madcoder@debia=
n.org
OOO ...
| Oct 15, 12:33 am 2007 |
| Peter Karlsson | Re: RCS keyword expansion
I can see that favouring the argument that having a $Id$ that gives me
the global state id when the file was last updated is a bad idea. Fair
enough. Give me a local state tham (which you did, hash id for the file
contents).
My problem now is the file date. That could possibly be fixed by having
it updated before I check in the file.
So, to summarize, if I've understood the responses here correctly, what
I really want is:
on commit:
- replace "$Date$" (or whatever) with the ...
| Oct 15, 7:03 am 2007 |
| Johannes Schindelin | Re: RCS keyword expansion
Hi,
Almost.
It also needs to be updated when switching branches. For every file.
Since the commit blamed for the current version could be different for
For the $Id$ thing: Documentation/gitattributes.txt. For the $Date$
thing: Documentation/hooks.txt, and Documentation/git-rev-list.txt.
You'll need to roll your own thing there, since Git oldtimers feel that
what you want to do is the wrong thing (see Randal's comment on generating
it as part of the build process).
What you ...
| Oct 15, 7:28 am 2007 |
| Johannes Sixt | Re: [PATCH 2/3] Quoting paths in tests
I don't see the point in changing an incorrect quoting to a different
incorrect quoting that you fix up in a follow-up patch. It's *two* large
patches to review instead of just one. I'm stopping the review here.
-- Hannes
-
| Oct 15, 6:47 am 2007 |
| Jonathan del Strother | Re: [PATCH] Fixing path quoting issues
OK, second attempt at this. First patch fixes quoting in git rebase. Second patch allows you to run tests from a path with a space in. The third allows you to run tests from a path with an apostrophe in (and is where things start to get a bit ugly, hence the separate patch).
-
| Oct 15, 6:13 am 2007 |
| Johannes Sixt | Re: [PATCH 1/3] Fixing path quoting in git-rebase
I believe this is not correct. It should be this way:
eval GITHEAD_$hd='$(cat "$dotest/onto_name")'
You can test it with a conflicting git-rebase -m. It only affects what the
conflict markers look like. The test suite does not test it.
The rest looks good.
-- Hannes
-
| Oct 15, 6:39 am 2007 |
| Jonathan del Strother | Re: [PATCH 2/3] Quoting paths in tests
If we want to support apostrophed paths in tests, I'll flatten 2 & 3
into a single patch. I thought I'd make the apostrophe part optional
since there seemed to be some resistance to having to bother about
quoting & escaping in tests..
-
| Oct 15, 7:00 am 2007 |
| Johannes Sixt | Re: [PATCH 2/3] Quoting paths in tests
You could also make a patch that reverses the quoting in t9100-* (and
probably others), i.e. instead of
"... '$foo'..." (which is incorrect)
or
"... \"$foo\"..."
make it
'... "$foo" ...'
It will be a large patch, too, but the result should be easier to read.
-- Hannes
-
| Oct 15, 7:17 am 2007 |
| Jonathan del Strother | [PATCH 3/3] Fix apostrophe quoting in tests
From: Jonathan del Strother <jon.delStrother@bestbefore.tv>
Double-quoting all paths so the tests can be run from inside a directory named "Joe's git"
Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
---
t/t9100-git-svn-basic.sh | 54 +++++++++++++++---------------
t/t9101-git-svn-props.sh | 6 ++--
t/t9102-git-svn-deep-rmdir.sh | 6 ++--
t/t9104-git-svn-follow-parent.sh | 50 ++++++++++++++--------------
...
| Oct 15, 6:13 am 2007 |
| Jonathan del Strother | [PATCH 2/3] Quoting paths in tests
From: Jonathan del Strother <jon.delStrother@bestbefore.tv>
Add quoting to various test paths so they can be run from a path with a space in
Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
---
t/lib-git-svn.sh | 2 +-
t/t1020-subdirectory.sh | 22 ++++++------
t/t3050-subprojects-fetch.sh | 2 +-
t/t3404-rebase-interactive.sh | 2 +-
t/t5500-fetch-pack.sh | 2 +-
...
| Oct 15, 6:13 am 2007 |
| Jonathan del Strother | [PATCH 1/3] Fixing path quoting in git-rebase
From: Jonathan del Strother <jon.delStrother@bestbefore.tv>
git-rebase used to fail when run from a path with a space in.
Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
---
git-rebase.sh | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/git-rebase.sh b/git-rebase.sh
index 1583402..9995d9d 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -59,7 +59,7 @@ continue_merge () {
die "$RESOLVEMSG"
fi
- cmt=`cat ...
| Oct 15, 6:13 am 2007 |
| Nicolas Pitre | Re: Git User's Survey 2007 unfinished summary continued
I think my new format might be easier for you as the "title" and the
actual percentage and count is now on the same line.
Nicolas
-
| Oct 15, 7:48 pm 2007 |
| Shawn O. Pearce | Re: Git User's Survey 2007 unfinished summary continued
git-gui is scraping the output of the current progress meter using
a regex and then building a graphical progress bar from that output.
Any change in how git produces the progress bar should still keep
it in a form that git-gui can regex match and scrape, preferably
without needing to know what version of git it is pulling that
output from. For example just teach git-gui to try two different
regexps, new format and if that doesn't match then try the old
(aka current) format.
-- ...
| Oct 15, 4:20 pm 2007 |
| Eygene Ryabinkin | Re: [PATCH] git-svn: respect Subversion's [auth] section ...
Eric, good day.
OK, the patch will follow in the separate thread. I had embedded
"no warnings 'once'" both to my new code and to your code to get
rid of the $kill_stupid_warnings. I did it selectively to minimize
the impact of the "no warnings" pragma.
--
Eygene
-
| Oct 15, 12:17 am 2007 |
| David Brown | Re: How to Import a bitkeeper repo into git
Both. Most of the time, I find the diff output easier to read. Only when
a change modifies a whole bunch of lines sprinkled around do I find the
side-by-side format easier. Even then, it is only marginal.
However, asking for a side-by-side diff viewer is probably the most common
request I've gotten from people I work with starting to use git.
David
-
| Oct 15, 6:13 pm 2007 |
| Shawn O. Pearce | Re: How to Import a bitkeeper repo into git
What's difftool? What's so great about it?
Forgive my ignorance but it has been many years since I last used
BitKeeper and even when I did use it I didn't get into many of the
features it offered. Its entirely possible I never learned about
difftool.
I've never found that I cannot get the information I need out of Git
when I need it. Actually I've found it to be the easiest VCS to get
data out of, beating CVS, Perforce, BitKeeper, SVN, etc. hands down.
Of course I also know Git better ...
| Oct 15, 5:03 pm 2007 |
| Linus Torvalds | Re: How to Import a bitkeeper repo into git
Ahh, good pointer. I had to google for it to find that it's part of the
kdesdk package, which I hadn't installed. But a simple "yum install
kdesdk" worked fine.
Much better than my stupid script ;)
Linus
-
| Oct 15, 6:22 pm 2007 |
| Pete/Piet Delaney | Re: How to Import a bitkeeper repo into git
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We have a CVS repository that we want to import into bitkeeper. I tried
the bk import option, including with a branch bug fix, but it's
still having problems.
I imported the CVS repository to git and it worked great. Since all
of our other repository are in bitkeeper the management would like to
stick with CVS. With git apparently still being weak in the area of
supporting difftool on different version that seems somewhat reasonable
for the ...
| Oct 15, 4:39 pm 2007 |
| Pete/Piet Delaney | Re: How to Import a bitkeeper repo into git
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wondering if adding a file dimension to gitk might help and adding the
ability to diff different version of a file git gitk by doing something
I just download 'meld', looks interesting, I didn't know about it or
'kompare'. Linking either one into gitk would be a pleasant graphical
Hmm, actually I'm only seeing rev topology up to 2.6.13,
later version seem to be linear and when I try to use a larger
time window something seems to crashing, ...
| Oct 15, 8:45 pm 2007 |
| Pete/Piet Delaney | Re: How to Import a bitkeeper repo into git
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's a side by side graphical diff. So instead of showing the difference
like diff does it takes the output from diff and shows the originals
with the diffs highlighted.
tkdiff is a good example that's easy to down load and see. So
just imagine allowing git-gui to run tkdiff of revisions you select
Try downloading tkdiff. There also a X implementation,
Try tkdiff and then tell me you don't find it easier to read that
the straight output ...
| Oct 15, 5:41 pm 2007 |
| Linus Torvalds | Re: How to Import a bitkeeper repo into git
I can't see how bk's difftool could possibly have any relevance to the
"reasonable to stick with CVS" decision, but hey, I'm always surprised by
peoples inventiveness in rationalizing their decisions ;)
I don't know what difftool does that a simple
git diff -U99 | viewdiff -
wouldn't do, but in all honesty, I don't think I ever used difftool (I
found the other tools in bk much more useful - eg mergetool, renametool)
I don't actually know of any sane programs to view unified ...
| Oct 15, 5:45 pm 2007 |
| David Brown | Re: How to Import a bitkeeper repo into git
kompare can read the unified diffs. If you add enough context, the result
is no different than the full files.
David
-
| Oct 15, 6:12 pm 2007 |
| previous day | today | next day |
|---|---|---|
| October 14, 2007 | October 15, 2007 | October 14, 2007 |
