| From | Subject | Date |
|---|---|---|
| Michael Gebetsroither | Re: Switching from CVS to GIT
Thats true for linux too.
/a/b/c and /a/b/c can be 2 totally different files depending on the vfs
namespace you are one.
cu,
michael
--
It's already too late!
-
| Oct 14, 8:46 pm 2007 |
| Brian Dessent | Re: Switching from CVS to GIT
You can achieve the same thing on Windows with CreateFile() by setting
the dwShareMode parameter to zero and setting the
FILE_FLAG_DELETE_ON_CLOSE attribute on dwFlagsAndAttributes. This
results in a file that cannot be opened or read by any other process and
This just means that you have to consider the drive letter as part of
Windows may not call it mmap() but it most certainly has memory-mapped
file IO:
<http://msdn2.microsoft.com/en-us/library/aa366781.aspx#file_mapping_functions>.
...
| Oct 14, 8:36 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
Aha. So to support Windows, we have to wrap all sites that use that
So to support Windows, we have to special case having a ":" as second
Yes, but there are still incompatibilities with POSIX. Again, when you
did not close the file, you cannot delete (or rename) it. So, to support
Windows, ...
All this supporting Windows business is certainly possible, if tedious.
Ciao,
Dscho
-
| Oct 14, 9:22 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
To clarify: git works on Windows. Most of the time, that is. But all
those changes that were necessary to go there have not yet found their way
into the official git.git repository.
Ciao,
Dscho
-
| Oct 14, 9:24 pm 2007 |
| Jakub Narebski | Git User's Survey 2007 summary - git homepage improvements
50. What could be improved on the GIT homepage?
TO DO
171 / 683 non-empty responses
--
Note from the homepage, http://git.or.cz/
This website itself is tracked in Git as well - you can browse its
development history or even clone it from
http://repo.or.cz/r/git-homepage.git. The site is covered by GPLv2 and
maintained by Petr Baudis who always takes patches eagerly. ;-)
--
List of answers, without count, divided into broad categories.
Some answers were hard to classify into one sectio...
| Oct 14, 6:05 pm 2007 |
| Frank Lichtenheld | Re: Git User's Survey 2007 summary - git homepage improvements
Hmm, I guess most names that would qualify are already taken
(most of them by squatters, though). So someone
would have to pay money for this...
(And I guess something like git-scm.org wouldn't qualify as more
"official", would it?)
However, I have to admit I had quite some problems remembering the
There are use-cases for shared repositories. Maybe this is one of them?
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
-
| Oct 14, 6:56 pm 2007 |
| Markus Elfring | Re: Addition of "xmlto" to install documentation
Thanks for your reply.
I'll have to admit that I overlooked the hint for "the asciidoc/xmlto toolchain" because it was in a separate paragraph instead of another item in the system requirements enumeration. (The tool's version number does not look promising so far.)
I rebuilt Git on my system because I was notified that a newer release became available.
Regards,
Markus
| Oct 14, 3:38 pm 2007 |
| Benoit SIGOURE | Re: Switching from CVS to GIT
Context: GNU make seems to be willing to switch from CVS to ...
something else.
I think the best thing to do is to ask directly on the Git ML.
Someone already pointed out that he'd like to use Git on Windows but
doesn't want to install either Cygwin or MSYS. Is this possible, or
will it be possible in the near future? Is it possible to use one of
the various GUIs (git-gui, gitk, qgit) on Windows without requiring a
POSIXish shell etc.?
When will the librarification of Git be fini...
| Oct 14, 1:10 pm 2007 |
| Andreas Ericsson | Re: Switching from CVS to GIT
It is sort of possible. Without cygwin he'll be in the black for the few
features that are still implemented as shell-scripts, but perhaps he/she
qgit is possible to use natively, if one installs the qgit4 libraries for
windows, but it's more of a viewer than an action gui. git-gui and gitk
are usable if you have the windows TCL port. I haven't tried it, but
there are installers available, so testing it out (with all dependencies)
When someone gets around to doing it ;-)
For a real answer, I'...
| Oct 14, 2:27 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
Umm. There are quite a few shell scripts still _necessary_ to run git:
git-commit, git-fetch and git-merge being the most prominent ones. The
first two are in the process of being rewritten _right_ _now_, but no
official git release has them yet.
And I have to disagree strongly with the "black": In msysGit (which brings
FWIW msysGit comes with Tcl. You can run git gui and gitk without any
There has been a GSoC project, and it has a nice small API which can be
called from Pytho...
| Oct 14, 2:39 pm 2007 |
| Andreas Ericsson | Re: Switching from CVS to GIT
Oh? I didn't know that. Windows and its unixifying toolboxes is unknown
Yes, my phrasing there was a bit obscure. I meant that all dependencies
I was under the impression that the windows port suffers from Windows'
lack of a proper fork() and friends and that a proper library would
help solving those problems. Perhaps I was misinformed.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-...
| Oct 14, 3:09 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
It suffered. Until Hannes Sixt did a very fine job which cumulated in the
patch series he posted yesterday. Of course, this work is the reason
msysGit is functional.
Ciao,
Dscho
-
| Oct 14, 4:14 pm 2007 |
| Alex Riesen | Re: Switching from CVS to GIT
Re "functional". Have to remind something (besides the fork):
Filesystem:
- no proper VFS (can't do anything with files opened elsewhere, and we
have not enough error handling and diagnostic output to detect the
problems)
- no proper filename semantics (case-insensitivity and stupid rules for
allowed characters in filenames, like ":" in filenames in
cross-platform projects)
- no acceptable level of performance in filesystem and VFS (readdir,
stat, open and read/write are annoyin...
| Oct 14, 6:14 pm 2007 |
| Dave Korn | RE: Switching from CVS to GIT
Whuh?
http://msdn2.microsoft.com/en-us/library/y5zz48s1(VS.80).aspx
cheers,
DaveK
--
Can't think of a witty .sigline today....
-
| Oct 14, 6:59 pm 2007 |
| David Brown | Re: Switching from CVS to GIT
The MS exec* calls just concatenate all of the argv arguments, separating
them with a space into a single buffer.
Look at the general _exec* page:
http://msdn2.microsoft.com/en-us/library/431x4c1w(VS.80).aspx
and read the first "Note" section.
If you know what the library on the other end is doing to re-parse the
arguments back into separate strings, it might be possible to quote things
enough to handle names with spaces, but it is hard.
David
-
| Oct 14, 8:03 pm 2007 |
| Johannes Schindelin | RE: Switching from CVS to GIT
Hi,
It does have an exec() call, yes, since that is required by the C
standard. But internally, it converts that into one single command line.
In corner cases, you find problems with that.
Hth,
Dscho
-
| Oct 14, 8:01 pm 2007 |
| Eli Zaretskii | Re: Switching from CVS to GIT
That's a 20-20 hindsight: if you deliberately write a program to rely
heavily on Posix-isms, don't be surprised when you discover that it
I'm not sure what you are talking about. What VFS do you use on
There's a flag on Windows to open files case-sensitively, if you need
that. In any case, I don't see how this can be of any real relevance
to porting GIT. As for ":" in file names, simply don't use it, like
you don't use white space or characters below 32 decimal: it's
With what libraries? ...
| Oct 14, 6:41 pm 2007 |
| Andreas Ericsson | Re: Switching from CVS to GIT
True. It was originally developed because Linux kernel development came
to a stand-still and needed an scm quickly. Since the original design
worked out nicely, nobody bothered (then) about possible future porting
issues. Windows is still a second class citizen, but that's true for
pretty much every unix-born application out there, so I'm not all that
Because having
Path/foo
path/Foo
PATH
path/foo
is possible in git's native playground, but not on windows, so it can
quite seriously ...
| Oct 14, 7:55 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
The problem is that on Windows, you cannot keep a file open and delete it
at the same time. This is an issue in Windows' equivalent of VFS.
A neat trick to work with temporary files without permission issues is to
open the file and delete it right after that. This does not work on
The problem is not so much opening, but determining if an existing file
and a file in the index have the same name.
For example, "README" in the index, but "readme" in the working directory,
will be ha...
| Oct 14, 7:45 pm 2007 |
| Johannes Schindelin | Re: Switching from CVS to GIT
Hi,
There is msysGit. This project is nearing to its first beta, being
self-hosted since mid-August IIRC.
It is a port of Git to MinGW, using parts of MSys as long as we have
dependencies on bash and perl.
I have no doubt that we'll manage to finish version 0.3 of the installer
this week, still not decided if it is still alpha or already beta.
There are some issues with using msysGit, none of them really serious, but
you better be ready to ask questions on this list or #git in case
...
| Oct 14, 2:20 pm 2007 |
| Marco Costalba | Re: Switching from CVS to GIT
qgit-2.0 works natively under Windows
http://sourceforge.net/project/showfiles.php?group_id=139897
Check the README for how to install.
Marco
-
| Oct 14, 2:06 pm 2007 |
| Björn | git blame crashes with internal error
Hi Junio,
git blame just decided to crash on me, when I tried to use it while
resolving a merge conflict. Interesting is probably, that it crashes
when given the filename of a file that is not _directly_ affected by the
merge, but contains code that originates from a file that caused
conlicts.
Error message is:
fatal: internal error: ce_mode is 0
I tried all git releases from 1.5.3 to 1.5.3.4 as well as the current
master and all of them crashed. A small shell script to reproduce the
problem...
| Oct 14, 10:36 am 2007 |
| Alex Riesen | Re: git blame crashes with internal error
It is not crashing. It is just not handling unexpected situation
properly:
$ testcase.sh
...
Switched to branch "foo"
CONFLICT (delete/modify): file1 deleted in HEAD and modified in master. Version master of file1 left in tree.
Automatic merge failed; fix conflicts and then commit the result.
fatal: internal error: ce_mode is 0
$ git ls-files --cached --stage
100644 72139f38953679bd19b3a7938c479d73c1aa7b59 1 file1
100644 3181f904ce3f9364b08524edd262a7a...
| Oct 14, 12:37 pm 2007 |
| Johannes Schindelin | Re: git blame crashes with internal error
Hi,
I _think_ that what blame does here is correct. It wants to handle the
rename case, and because of the conflicts, it cannot determine the
renames.
The proper thing to do now would be
git blame HEAD file2
since you want to exclude the working tree from the blaming.
I agree that the error message is not really helping here, though. Since
we are not really libified, I do not see an easy way to help here, either,
short of git-blame checking for unmerged entries.
Ciao,
Dscho
...
| Oct 14, 1:51 pm 2007 |
| Alex Riesen | Re: git blame crashes with internal error
FWIW, backtrace. I'm giving up for today. Anyone?
(gdb) bt
#0 0x080b6ac5 in die_builtin (err=0x80f3b92 "internal error: ce_mode is %o",
params=0xbfd91c34 "") at usage.c:24
#1 0x080b6b84 in die (err=0x80f3b92 "internal error: ce_mode is %o")
at usage.c:76
#2 0x080a3883 in ce_match_stat_basic (ce=0xb7f6a00c, st=0xbfd91cb8)
at read-cache.c:153
#3 0x080a398f in ie_match_stat (istate=0x81342e0, ce=0xb7f6a00c,
st=0xbfd91cb8, options=0) at read-cache.c:208
#4 0x080c87f3 in reus...
| Oct 14, 1:33 pm 2007 |
| Andreas Ericsson | Re: git blame crashes with internal error
Manual bisect? Ugh. This *is* the century of the competent developer
tools, you know... ;-)
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Oct 14, 10:51 am 2007 |
| Björn | Re: git blame crashes with internal error
Then, how do I search for a good version with git bisect if I only have
the one data-point "master is bad"?
All I tried when testing those 5 versions was trying to find a good
version so that I can actually do an automatic bisect. And I stopped at
1.5.3 because I figured that my test-case is probably just pretty
uncommon and was basically always broken.
Another manual "bisect" shows that 1.5.0 also crashes and as 1.4.0
doesn't even want to read my git git repository, I don't intend to go
even ...
| Oct 14, 11:23 am 2007 |
| Johannes Schindelin | Re: git blame crashes with internal error
Hi,
AFAIK Junio introduced the option to start with just a bad commit, and no
known "good" one.
Yep, just found it. Since v1.5.2-rc0~77^2(git-bisect: allow bisecting
with only one bad commit.) it is supported.
From the commit message:
This allows you to say:
git bisect start
git bisect bad $bad
git bisect next
I don't know if it is in the documentation (I rarely read it), so if it is
missing, it would be nice if you could add the description there.
...
| Oct 14, 1:32 pm 2007 |
| Björn | Re: git blame crashes with internal error
OK, using that approach, I bisected it, and even found a "guilty"
commit, although it is pretty much useless:
1cfe77333f274c9ba9879c2eb61057a790eb050f is first bad commit
commit 1cfe77333f274c9ba9879c2eb61057a790eb050f
Author: Junio C Hamano <junkio@cox.net>
Date: Tue Jan 30 01:11:08 2007 -0800
git-blame: no rev means start from the working tree file.
Warning: this changes the semantics.
This makes "git blame" without any positive rev to start digging
from the work...
| Oct 14, 4:18 pm 2007 |
| Johannes Schindelin | Re: git blame crashes with internal error
Hi,
I think it is not useless. It says exactly the same as I did, in another
reply: git blame starts with your working tree. As such, it has to do
some operations which happen to fail on unmerged files.
So the solution in your case _really_ is:
git blame HEAD file2
Explanation: with that command line, you ask git blame to start with a
given revision (instead of the working tree), which just so happens to be
the HEAD revision.
Hth,
Dscho
-
| Oct 14, 4:21 pm 2007 |
| David Kastrup | Re: git blame crashes with internal error
It's not a "bisect" when it crashes in all versions.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
| Oct 14, 10:56 am 2007 |
| Pierre Habouzit | Re: git blame crashes with internal error
What What, git cannot bisect future versions ??? *g* what a
disappointment.
--=20
=C2=B7O=C2=B7 Pierre Habouzit
=C2=B7=C2=B7O madcoder@debia=
n.org
OOO http://www.madism.org
| Oct 14, 12:50 pm 2007 |
| Christian Couder | [PATCH 7/7] Bisect: add "bisect dunno" to the documentation.
Also fix "bisect bad" and "bisect good" short usage description.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
Documentation/git-bisect.txt | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
index 1072fb8..2be2284 100644
--- a/Documentation/git-bisect.txt
+++ b/Documentation/git-bisect.txt
@@ -16,8 +16,9 @@ The command takes various subcommands, and different options depend...
| Oct 14, 8:30 am 2007 |
| Christian Couder | [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunno}" into...
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-bisect.sh | 80 +++++++++++++++++++++-----------------------------------
1 files changed, 30 insertions(+), 50 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index e12125f..6a5ec5b 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -134,47 +134,33 @@ bisect_write() {
test -z "$nolog" && echo "git-bisect $state $rev" >>"$GIT_DIR/BISECT_LOG"
}
-bisect_bad() {
+bisect_state() {
bisect_autosta...
| Oct 14, 8:30 am 2007 |
| Johannes Schindelin | Re: [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunno}" ...
Hi,
Maybe it is time to have a special exit status for "dunno"? But this is
not something to fix in your patch, just an idea for a future patch.
Ciao,
Dscho
-
| Oct 14, 12:15 pm 2007 |
| Christian Couder | Re: [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunno}" ...
But the new "bisect_state" takes one more argument, because the first one
must be "good" "bad" or "dunno".
So when there is only one argument HEAD is used, and when there are 2
Yes, I will think about it.
Thanks,
Christian.
-
| Oct 14, 11:42 pm 2007 |
| Christian Couder | [PATCH 5/7] Bisect: factorise some logging into "bisect_writ...
Also use "die" instead of "echo >&2 something ; exit 1".
And simplify "bisect_replay".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-bisect.sh | 46 +++++++++++++---------------------------------
1 files changed, 13 insertions(+), 33 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index 847250c..e12125f 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -106,12 +106,11 @@ bisect_start() {
die "'$arg' does not appear to be a valid revision"...
| Oct 14, 8:29 am 2007 |
| Johannes Schindelin | Re: [PATCH 5/7] Bisect: factorise some logging into "bisect_...
Hi,
Isn't a nolog="$3" missing from bisect_write()?
Ciao,
Dscho
-
| Oct 14, 12:07 pm 2007 |
| Lars Hjemli | Re: [PATCH 5/7] Bisect: factorise some logging into "bisect_...
Good catch, I've amended the commit and replaced q/cc/bisect-dunno
with this series.
--
larsh
-
| Oct 14, 6:40 pm 2007 |
| Christian Couder | Re: [PATCH 5/7] Bisect: factorise some logging into "bisect_...
Yes, you are right. I forgot this line when reorganizing patches before
Thanks,
Christian.
-
| Oct 14, 11:35 pm 2007 |
| Christian Couder | [PATCH 4/7] Bisect: factorise "bisect_write_*" functions.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-bisect.sh | 46 ++++++++++++++++++++--------------------------
1 files changed, 20 insertions(+), 26 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index 94534e6..847250c 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -108,9 +108,9 @@ bisect_start() {
}
if [ $bad_seen -eq 0 ]; then
bad_seen=1
- bisect_write_bad "$rev"
+ bisect_write 'bad' "$rev"
else
- bisect_write_good "$re...
| Oct 14, 8:29 am 2007 |
| Christian Couder | [PATCH 3/7] Bisect: implement "bisect dunno" to mark untesta...
When there are some dunno revisions, we add the '--bisect-all'
option to "git rev-list --bisect-vars". Then we filter out the
dunno revisions from the result of the rev-list command, and we
modify the "bisect_rev" var accordingly.
We don't always use "--bisect-all" because it is slower
than "--bisect-vars" or "--bisect".
When we cannot find for sure the first bad commit because of
dunno commits, we print the hash of each possible first bad
commit and then we exit with code 2.
Signed-off-by: C...
| Oct 14, 8:29 am 2007 |
| Christian Couder | [PATCH 2/7] Bisect: fix some white spaces and empty lines br...
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-bisect.sh | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index 388887a..436ccf6 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -64,7 +64,7 @@ bisect_start() {
branch=`cat "$GIT_DIR/head-name"`
else
branch=master
- fi
+ fi
git checkout $branch || exit
;;
refs/heads/*)
@@ -95,11 +95,11 @@ bisect_start() {
...
| Oct 14, 8:29 am 2007 |
| Christian Couder | [PATCH 1/7] rev-list: implement --bisect-all
This is Junio's patch with some stuff to make --bisect-all
compatible with --bisect-vars.
This option makes it possible to see all the potential
bisection points. The best ones are displayed first.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
builtin-rev-list.c | 100 ++++++++++++++++++++++++++++++++++++++++++++-------
log-tree.c | 2 +-
log-tree.h | 1 +
3 files changed, 88 insertions(+), 15 deletions(-)
diff --git a/builtin-rev-list.c b/builti...
| Oct 14, 8:28 am 2007 |
| Frank Lichtenheld | Re: [PATCH 1/7] rev-list: implement --bisect-all
--bisect-all is still missing a Documentation/ patch.
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
-
| Oct 14, 6:39 pm 2007 |
| Christian Couder | [PATCH 0/7] Bisect dunno
Hi all,
Here is my bisect dunno patch series again.
The changes since last time are the following:
[PATCH 1/7] rev-list: implement --bisect-all
[PATCH 2/7] Bisect: fix some white spaces and empty lines breakages.
-> No change.
[PATCH 3/7] Bisect: implement "bisect dunno" to mark untestable revisions.
-> Added dunno stuff in "bisect_replay" that I had forgotten.
-> Use "bisect_write_good" and "bisect_write_bad" in "bisect_replay"
while at it.
[PATCH 4/7] Bisect: factorise "bis...
| Oct 14, 8:28 am 2007 |
| Johannes Schindelin | Re: [PATCH 0/7] Bisect dunno
Hi,
Thanks for doing this. I think that especially the factorisation adds
tremendously to the readibility.
Ciao,
Dscho
-
| Oct 14, 12:16 pm 2007 |
| Wincent Colaiuta | Re: [PATCH 0/7] Bisect dunno
Good work on the series, Christian, but don't you think that
"unknown" would sound a little bit better than "dunno"? For people
who don't speak English as a second language "dunno" might not be
immediately clear.
Cheers,
Wincent
-
| Oct 14, 8:43 am 2007 |
| David Kastrup | Re: [PATCH 0/7] Bisect dunno
"undecided"?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
| Oct 14, 9:00 am 2007 |
| Christian Couder | Re: [PATCH 0/7] Bisect dunno
I choosed "dunno" because that was what Dscho suggested in this thread:
http://thread.gmane.org/gmane.comp.version-control.git/53584/focus=53595
It seems to me short and understandable at the same time.
More meaningfull would be "untestable" or "cannottest" or "canttest" but
it's much longer, while "good" and "bad" are short.
Christian.
-
| Oct 14, 11:09 am 2007 |
| previous day | today | next day |
|---|---|---|
| October 13, 2007 | October 14, 2007 | October 15, 2007 |
