| From | Subject | Date |
|---|---|---|
| Felipe Contreras | [ANN] mtn2git v0.1
Hi,
This is the result of various experiments I've been doing while trying
to import mtn repositories into git. I've looked into other mtn2git
scripts but none fitted my needs.
After some rfcs on git and monotone mailing lists it seems now the
script is going in the right direction.
There are two modes:
== checkout ==
In this mode each revision is checked out and imported directly into
git. This means it's 100% sure that the result would be an exact
clone.
The disadvantage is that ...
| Sep 12, 3:59 pm 2008 |
| Petr Baudis | Re: CGit and repository list
Thanks. The script was a bit more scary than I thought, but in the end I
managed to generate something. There are trailing dots in project names,
but I'm not going to waste time on that anymore - this has long gone
over the 20 minutes I originally alotted the project anyway; I hope cgit
will gain a builtin capability for this in the future, since this is
still quite a pain. Attached is a random patch for your script I had to
use, FWIW.
Unfortunately, the recommended RewriteRule is not working ...
| Sep 12, 3:48 pm 2008 |
| Lars Hjemli | Re: CGit and repository list
I guess I could add support for something like
scan-paths=/pub/git
in cgitrc (and optionally store the result of the scan as another
cgitrc-file in the cache directory). Would that improve things for
On hjemli.net I used to specify "virtual-root=/git" in cgitrc combined
with this rule in /etc/apache/httpd.conf
RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA]
But currently I'm running the tip of the wip-branch (which has support
for PATH_INFO) on hjemli.net , so I've ...
| Sep 12, 4:20 pm 2008 |
| Catalin Marinas | [StGit PATCH] Autosign newly created patches
This patch adds the autosign configuration variable which is checked by
the "new" command to automatically sign the patch message.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
---
BTW, what happened to the patchdescr.tmpl file? It doesn't seem to be
used anymore, however one can save a template file
examples/gitconfig | 3 +++
stgit/commands/new.py | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/examples/gitconfig ...
| Sep 12, 2:55 pm 2008 |
| Catalin Marinas | [StGit PATCH] Convert "sink" to the new infrastructure
This patch converts the sink command to use stgit.lib. The behaviour
is also changed slightly so that it only allows to sink a set of
patches if there are applied once, otherwise it is equivalent to a
push. The new implementation also allows to bring a patch forward
towards the top based on the --to argument.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
---
Before the final patch, I need to write a better test script.
I'm not sure about the conflict resolution. In this ...
| Sep 12, 3:01 pm 2008 |
| Catalin Marinas | [StGit PATCH] Do not crash if a patch log ref is missing
Since we'll get rid of the individual patch logs, StGit should ignore if
such a ref is missing when deleting the compatibility patch files.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
---
stgit/lib/stack.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/stgit/lib/stack.py b/stgit/lib/stack.py
index 9cb3967..1059955 100644
--- a/stgit/lib/stack.py
+++ b/stgit/lib/stack.py
@@ -68,7 +68,11 @@ class Patch(object):
for f in ...
| Sep 12, 2:54 pm 2008 |
| Petr Baudis | [PATCH 0/6] Submodule support for git mv and git rm
This is a resend of the previously submitted series, with basically
no changes since the previous submission.
---
Petr Baudis (6):
git submodule add: Fix naming clash handling
t7400: Add short "git submodule add" testsuite
t7403: Submodule git mv, git rm testsuite
git mv: Support moving submodules
git rm: Support for removing submodules
submodule.*: Introduce simple C interface for submodule lookup by path
Documentation/git-rm.txt | 6 +
...
| Sep 12, 2:08 pm 2008 |
| Petr Baudis | [PATCH 5/6] t7400: Add short "git submodule add" testsuite
This patch introduces basic tests for
git submodule add
covering the basic functionality and the -b parameter.
A trivial update --init test fix freeloads on this commit as well.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
t/t7400-submodule-basic.sh | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index be73f7b..8a002bc 100755
--- a/t/t7400-submodule-basic.sh
+++ ...
| Sep 12, 2:09 pm 2008 |
| Junio C Hamano | Re: [PATCH 1/6] submodule.*: Introduce simple C interfac ...
Won't you ever have different kind of work in the future?
This cannot happen; you made sure the thing begins with "submodule."
This will miss a misconfigured "submodule.path" (two level).
I can understand if this part were:
subkey = strrchr(key, '.');
if (!subkey || subkey == key + strlen("submodule.") - 1)
This will segfault on a misconfigured:
[submodule "xyzzy"]
Have to wonder if it makes easier for the users if this function kept only
"xyzzy" out of ...
| Sep 12, 2:23 pm 2008 |
| Junio C Hamano | Re: [PATCH 2/6] git rm: Support for removing submodules
Another thing --- can submodule_by_path() ever return NULL saying "I do
not see one in the configuration"?
--
| Sep 12, 2:59 pm 2008 |
| Jakub Narebski | Re: [PATCH 1/6] submodule.*: Introduce simple C interfac ...
[cut]
Are there any api to access and manipulate configuration,
including fqvn with the subsection part, instead of having
to do this again and again?
--
Jakub Narebski
Poland
ShadeHawk on #git
--
| Sep 12, 2:35 pm 2008 |
| Junio C Hamano | Re: [PATCH] git mv: Support moving submodules
This interface itself is ugly (why should a caller pass "it is unmerged or
does not exist" without checking?), and it also makes the hunk that begins
at 84/105 ugly. Why not "path_is_gitlink(const char*)" and run
cache_name_pos() here instead?
The interface, even if it is internal, should be done with a better taste
than that, even though I understand that you wanted to reuse the cache_pos
for the source one while you check.
Oh, by the way, what should happen when you have an unmerged path ...
| Sep 12, 3:19 pm 2008 |
| Junio C Hamano | Re: [PATCH 2/6] git rm: Support for removing submodules
Sorry, I read this three times but "this" is unclear to me. Different and
mutually incompatible interpretations I tried to understand it are:
(1) When removing submodules, whether --cached or not, the index can
match either HEAD or the work tree; this is different from removing
regular blobs where the index must match with HEAD without --cached
nor -f;
(2) When removing submodules with --cached, the index can match either
HEAD or the work tree and it is removed only ...
| Sep 12, 2:49 pm 2008 |
| Petr Baudis | [PATCH] git mv: Support moving submodules
This patch adds support for moving submodules to 'git mv', including
rewriting of the .gitmodules file to reflect the movement.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
I'm sorry, I was careless - this is the correct patch version, referring to
string_list_item.string instead of .path.
Also, the testsuite in patch 4 is for some reason marked as (c)'d by Dscho.
Not that it would be a big deal.
builtin-mv.c | 37 +++++++++++++++++++++++++++++++++----
1 files changed, 33 ...
| Sep 12, 2:42 pm 2008 |
| Petr Baudis | [PATCH 2/6] git rm: Support for removing submodules
This patch adds support for removing submodules to 'git rm', including
appropriately editing the .gitmodules file to reflect this. Submodule
_checkouts_ are never removed; that can be potentially catastrophic
and the user should remove them manually, if really desired.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
Documentation/git-rm.txt | 6 +++-
builtin-rm.c | 65 ++++++++++++++++++++++++++++++++++++++--------
2 files changed, 58 insertions(+), 13 deletions(-)
diff ...
| Sep 12, 2:09 pm 2008 |
| Junio C Hamano | Re: [PATCH 2/6] git rm: Support for removing submodules
Hmmmm. If I did...
$ git init
$ create and add normal paths
$ git clone git://..../gitk.git gitk
$ git add gitk
: heh, I changed my mind
$ git rm gitk
the last step would die, because I changed my mind before fully
initializing gitk repository as a proper submodule?
How would I get rid of the index entry to recover from the mistake?
$ rm -fr gitk
$ git rm gitk
would presumably fail the same way, no? I hope I am misreading ...
| Sep 12, 3:42 pm 2008 |
| Petr Baudis | Re: [PATCH 1/6] submodule.*: Introduce simple C interfac ...
This looks strange, but I think I see what do you mean. I will use
Matter of taste, I suppose. I have changed this to warning(), though it
They follow up in the next patches. ;-) They use the submodule name
only to access the configuration again, so this format is the most
Would you seriously find it prettier with the newline?
$ git grep '^[^/]*[a-z][^/]*\*/$' *.c | wc -l
37
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the ...
| Sep 12, 2:58 pm 2008 |
| Petr Baudis | Re: [PATCH 2/6] git rm: Support for removing submodules
I will collect your feedback on the whole series, then resend it from
scratch - sounds good?
This is still easier to use than explicit snprintf(), but in the long
run, you're right that returning just the submodule name is the right
Sensible idea.
No, it would rather die().
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 3:24 pm 2008 |
| Petr Baudis | [PATCH 1/6] submodule.*: Introduce simple C interface fo ...
The interface will be used for git-mv and git-rm submodule support.
So far, only the submodule_by_path() function is defined, however more
can be probably expected in the future if/when the git-submodule command
is ported from shell.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
Makefile | 2 ++
submodule.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
submodule.h | 8 ++++++++
3 files changed, 60 insertions(+), 0 deletions(-)
create mode 100644 submodule.c
...
| Sep 12, 2:08 pm 2008 |
| Petr Baudis | [PATCH 4/6] t7403: Submodule git mv, git rm testsuite
The testsuite for newly added submodule support in git mv, git rm.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
t/t7403-submodule-mvrm.sh | 242 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 242 insertions(+), 0 deletions(-)
create mode 100755 t/t7403-submodule-mvrm.sh
diff --git a/t/t7403-submodule-mvrm.sh b/t/t7403-submodule-mvrm.sh
new file mode 100755
index 0000000..9b50d6a
--- /dev/null
+++ b/t/t7403-submodule-mvrm.sh
@@ -0,0 +1,242 @@
+#!/bin/sh
+#
+# ...
| Sep 12, 2:09 pm 2008 |
| Petr Baudis | [PATCH 6/6] git submodule add: Fix naming clash handling
This patch fixes git submodule add behaviour when we add submodule
living at a same path as logical name of existing submodule. This
can happen e.g. in case the user git mv's the previous submodule away
and then git submodule add's another under the same name.
A test-case is obviously included.
This is not completely satisfactory since .git/config cross-commit
conflicts can still occur. A question is whether this is worth
handling, maybe it would be worth adding some kind of randomization
of ...
| Sep 12, 2:09 pm 2008 |
| Petr Baudis | [PATCH 3/6] git mv: Support moving submodules
This patch adds support for moving submodules to 'git mv', including
rewriting of the .gitmodules file to reflect the movement.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
builtin-mv.c | 37 +++++++++++++++++++++++++++++++++----
1 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/builtin-mv.c b/builtin-mv.c
index 4f65b5a..52e3ea5 100644
--- a/builtin-mv.c
+++ b/builtin-mv.c
@@ -9,6 +9,7 @@
#include "cache-tree.h"
#include "string-list.h"
#include ...
| Sep 12, 2:09 pm 2008 |
| Ralf Wildenhues | [PATCH] Fix some manual typos.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
---
Thanks for git!
Cheers,
Ralf
Documentation/git-web--browse.txt | 2 +-
Documentation/gitattributes.txt | 2 +-
Documentation/merge-config.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-web--browse.txt b/Documentation/git-web--browse.txt
index 36afad8..7f7a45b 100644
--- a/Documentation/git-web--browse.txt
+++ b/Documentation/git-web--browse.txt
@@ -77,7 +77,7 @@ ...
| Sep 12, 12:10 pm 2008 |
| Alexander Gavrilov | [RFC PATCH (GIT-GUI)] git-gui: Add more integration opti ...
- Make citool return nonzero exit code if it did not commit.
- Add a mode where it does not actually commit and simply
exits with zero code. Commit message is either disabled,
or simply dumped to GITGUI_EDITMSG before exiting.
- Add an option to immediately start it in amend mode.
Rationale:
1) Use 'git citool --nocommit' instead of mergetool in scripts.
2) Use 'git citool --amend' to edit commits while rebasing.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
---
I think ...
| Sep 12, 11:43 am 2008 |
| Quy Tonthat | [PATCH] Update RPM spec for the new location of git-cvsserver.
git-cvsserver has been moved from libexecdir to bindir.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
---
git.spec.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/git.spec.in b/git.spec.in
index c6492e5..6733b6f 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -145,6 +145,7 @@ rm -rf $RPM_BUILD_ROOT
%files cvs
%defattr(-,root,root)
%doc Documentation/*git-cvs*.txt
+%{_bindir}/git-cvsserver
%{_libexecdir}/git-core/*cvs*
%{!?_without_docs: ...
| Sep 12, 9:22 am 2008 |
| Jakub Narebski | Re: Gitweb
First, what operating system, and in the case of Linux what
distribution do you use? For example both Fedora Core and Debian (so
also all Debian-derived distributions like Ubuntu) have gitweb*
package; so it should be very simple to install this.
Because installing CGI script (or legacy mod_perl script) differs from
distribution to distribution, therefore stock RPMS from kernel.org
doesn't create gitweb package. So you would have to either download
source tarball, or clone git repository, ...
| Sep 12, 6:27 am 2008 |
| delux | Gitweb
I posted on another subject before and thanks to all who replied to that, Now
I want to put gitweb on my server and have read everything to do it but cant
seem to find the files. I know that it is supposed to be bundled with git
but I am not the one who installed git, so is there anywhere I can get the
gitweb files?
--
View this message in context: http://www.nabble.com/Gitweb-tp19455112p19455112.html
Sent from the git mailing list archive at Nabble.com.
--
| Sep 12, 5:48 am 2008 |
| dhruva | Re: Git User's Survey 2008 partial summary, part 5 - other SCM
Hello,
Since we cannot change management to decide on using git instead of whatever they are using overnight. Best is to have tools like git-p4/git-svn which allows interoperability. Once people gain confidence, they can replace that whatever SCM with git. That is the path I am planning at my place of work.
-dhruva
Get an email ID as yourname@ymail.com or yourname@rocketmail.com. Click here http://in.promos.yahoo.com/address
--
| Sep 12, 4:11 am 2008 |
| Petr Baudis | Re: [ANNOUNCE] TopGit v0.3
Hi,
the top-bases/ references are to determine what to base the patch
against. Consider patch structure like:
.---- A ----.
vanilla < > C
`---- B ----'
Then, top-bases/C will consist of branches A and B, merging updates in
these branches over time, and you can get the current image of C's patch
by diffing top-bases/C and heads/C. There is no way how to get this by
using git merge-base, since that gives you only kind of "multi-way
diff" - I'm not ...
| Sep 12, 3:58 am 2008 |
| Michael J Gruber | [PATCH/RFC 6/6] adjust the command lists (by category) t ...
This patch introduces a new attribute "dashed" to be used in the master
command list. Server type commands are marked as "dashed", and
"cmd-list.perl" is taught to use this attributes when writing out links
in the command lists by category:
git-cvsserver
git-daemon
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Documentation/cmd-list.perl | 7 ++++++-
command-list.txt | 12 ++++++------
2 ...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | [PATCH/RFC 4/6] convert doc links for other pages
This converts the doc links for pages which do not start with git:
"everyday" and "curl"
We use the "linkgitasis" macro which preserves their name.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Documentation/config.txt | 2 +-
Documentation/gitcore-tutorial.txt | 2 +-
Documentation/gitglossary.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index fe71aba..102ee48 ...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | Re: [PATCH/RFC 2/6] convert doc links for server type pr ...
Heck, please ignore this one, sorry. This is what happens when you
rebase to change the subject but forget to clean out 00*. It's identical
with the other 2/6 otherwise.
Michael
--
| Sep 12, 4:32 am 2008 |
| Michael J Gruber | [PATCH/RFC 2/6] convert doc links for server type programmes
For all server type programmes, we use the macro "linkgitasis" which
preserves any dashes:
git-cvsserver
git-daemon
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Documentation/config.txt | 12 ++++++------
Documentation/everyday.txt | 4 ++--
Documentation/git-cvsimport.txt | 2 +-
Documentation/git-cvsserver.txt | 2 +-
Documentation/git-push.txt | 2 +-
...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | [PATCH/RFC 3/6] convert doc links for non-dashed git commands
This converts all links for git commands whose names do not begin
with "git-". We use the "linkgitasis" macro for them which preserves the name.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Documentation/config.txt | 10 +++++-----
Documentation/diff-options.txt | 4 ++--
Documentation/git-add.txt | 4 ++--
Documentation/git-am.txt | 2 +-
Documentation/git-annotate.txt | 2 +-
...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | [PATCH/RFC 0/6] Documentation: use dashless links
This is yet another attempt at making Junio's eyes sore...
This series implements dashless links in html doc for all commands where
the dashless form is preferred. The idea is to use two different link
macros, such that man pages (from docbook) get the form some viewers
need, whereas html pages get dashless links.
The series is broken down into steps which basically correspond to one
"sed" each, and can thus be checked easily.
Specific R for C:
Do we have a final list of commands which ...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | [PATCH/RFC 1/6] modified asciidoc macros for dashless git doc
This introduces a new macro "link-git" which prepends "git-" or "git "
to the link target, depending on the backend. We keep the dash for the
docbook backend because some man viewers depend on it. There are no
dashes for the html backend.
This patch also renames the existing "linkgit" macro to "linkgitasis", in
preparation for the upcoming changes. This makes it easier to split the
changes into parts: dashed form for server type programmes, dashless
form for all other ...
| Sep 12, 3:55 am 2008 |
| Michael J Gruber | [PATCH/RFC 2/6] convert doc links for server type progra ...
For all server type programmes, we use the macro "linkgitasis" which
preserves any dashes:
git-cvsserver
git-daemon
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Documentation/config.txt | 12 ++++++------
Documentation/everyday.txt | 4 ++--
Documentation/git-cvsimport.txt | 2 +-
Documentation/git-cvsserver.txt | 2 +-
Documentation/git-push.txt | 2 +-
...
| Sep 12, 3:55 am 2008 |
| Christian Stimming | [PATCH] gitk: Add untranslated error messages to translation.
Signed-off-by: Christian Stimming <stimming@tuhh.de>
---
gitk | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/gitk b/gitk
index 2eaa2ae..ccf6952 100755
--- a/gitk
+++ b/gitk
@@ -269,7 +269,7 @@ proc parseviewrevs {view revs} {
lappend badrev $line
}
}
- error_popup "Error parsing revisions: $err"
+ error_popup "[mc "Error parsing revisions:"] $err"
return {}
}
set ret {}
@@ -324,7 +324,7 @@ proc start_rev_list ...
| Sep 12, 2:39 am 2008 |
| Christian Stimming | [PATCH] git-gui: I18n fix sentence parts into full sente ...
For translations, it is almost always impossible to correctly translate
parts of sentences in almost any other language. Hence, messages like this
must be re-organized into full sentences.
Signed-off-by: Christian Stimming <stimming@tuhh.de>
---
Patch against origin/master of git-gui.git at repo.or.cz.
lib/mergetool.tcl | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/mergetool.tcl b/lib/mergetool.tcl
index 79c58bc..d10cadd 100644
--- ...
| Sep 12, 2:17 am 2008 |
| Christian Stimming | Re: [PATCH] git-gui: I18n fix sentence parts into full s ...
Oh - right. Thanks for pointing this out. Please modify the patch accordingly.
Christian
--
| Sep 12, 3:32 am 2008 |
| Alexander Gavrilov | Re: [PATCH] git-gui: I18n fix sentence parts into full s ...
You should remove this $target completely -- there is no %s to match it anymore.
Alexander.
--
| Sep 12, 3:23 am 2008 |
| Shawn O. Pearce | Re: [PATCH] git-gui: I18n fix sentence parts into full s ...
Fixed and applied. Thanks, both.
--
Shawn.
--
| Sep 12, 8:39 am 2008 |
| Jakub Narebski | Re: CGit and repository list
Or you can wait a little while for "smart" HTTP server, which I guess
also generates automatically or/and on the fly objects/info/packs and
info/refs required by "dumb" protocols clients (including old HTTP
clients).
P.S. Could you please gather some statistics to compare the period
before and after installing "smart" HTTP server (and after smart
clients became widespread).
--
Jakub Narebski
Poland
--
| Sep 12, 8:54 am 2008 |
| Petr Baudis | Re: CGit and repository list
To check whether it actually matters for me, I have counted HTTP
requests for info/refs: 42 per hour for the last 5.5 days. So it might.
28% of the requests are web crawlers.
For objects/../, it is more fun - 1942 requests per hour. 46% is
accounted for web crawlers. I will put up a robots.txt. ;-)
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 9:20 am 2008 |
| Ciprian Dorin Craciun | Re: configuring git public repository
Hello!
If I'm correct, you have two major options:
-- install your own git infrastructure:
-- by using git-daemon and serving the git repository throught
git://...;
-- by using gitweb? and serving it as http://...;
-- by using ssh and serving it as ssh://... (this is
appropriate mostly for private repositories);
-- using an existing Git hosting service like:
-- (of course) http://repo.or.cz/
-- http://github.org/
-- ...
| Sep 12, 5:33 am 2008 |
| Petr Baudis | CGit and repository list
Hi,
this finally tripped me over and I wanted to quickly add cgit as an
alternate viewing interface at repo.or.cz. But it seems that cgit
requires all the repositories explicitly listed in the config file.
Do you plan to remove this limitation in the future?
Thanks,
Petr "Pasky" Baudis
--
| Sep 12, 7:58 am 2008 |
| Shawn O. Pearce | Re: CGit and repository list
Disk IO and network IO consumed probably. The kernel.org folks are
hoping the smart HTTP server can lower their loads a bit by being
more careful about what we send to the client.
--
Shawn.
--
| Sep 12, 9:08 am 2008 |
| Petr Baudis | Re: CGit and repository list
This statistics are already available at
...and I don't know out of the top of my head how to best gather the
rest either. ;-) (If someone is really interested about all this, that's
fine, but they have to give me a pre-made cookbook of recipes how to
hook that up to RRD.)
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 12:13 pm 2008 |
| Shawn O. Pearce | Re: CGit and repository list
Is Googlebot trying to make those loose objects searchable?
I wonder what byte sequence I should try in the search bar...
;-)
--
Shawn.
--
| Sep 12, 9:22 am 2008 |
| sagi4 | configuring git public repository
Hi all,
I am new git..
I would like to configure git as a public repository for my rails
application..
Please help me..
Thanks
Sg..
--
View this message in context: http://www.nabble.com/configuring-git-public-repository-tp19449377p19449377.html
Sent from the git mailing list archive at Nabble.com.
--
| Sep 11, 9:47 pm 2008 |
| Lars Hjemli | Re: CGit and repository list
I'll try to come up with a prototype for the smart server as part of cgit ;-)
--
larsh
--
| Sep 12, 9:12 am 2008 |
| Lars Hjemli | Re: configuring git public repository
<plug>
Current cgit also allows cloning over http using the same url as for
browsing the repo, i.e. you may
$ git clone http://hjemli.net/git/cgit
This has one advantage over just publishing the repo; you don't have
to run `git-update-server-info` (thanks to the work done by Shawn O.
Pearce on git-http-backend, which is shamelessly reimplemented in
cgit).
</plug>
--
larsh
--
| Sep 12, 7:36 am 2008 |
| Jakub Narebski | Re: configuring git public repository
First, I think you can find required information in many documentation
avaliable online, like "Git User's Manual" (distributed with Git), or
Note that git:// protocol is meant only for _fetching_ (although you
can configure it for pushing, it is a good option only in very narrow
set of circumstances). And you would have ensure that your firewall
Gitweb (and cgit, and git-php) is _web interface_ to repository, which
means that you can check the state of repository, view current version
and ...
| Sep 12, 5:57 am 2008 |
| Jakub Narebski | Re: CGit and repository list
In the simplest case just some averaged system load (perhaps load
average from uptime, or from top, or from /proc) before and after.
Perhaps bandwidth used per week or something like that too.
If you have time and interest, CPU load, disk IO, network IO or
network bandwidth used, and average time to serve request (latency)
for fetching via HTTP protocol, for "dumb" and "smart" clients,
perhaps averaged over number of requests. (I don't know unfortunately
how to get such data).
In short: ...
| Sep 12, 10:40 am 2008 |
| Petr Baudis | Re: CGit and repository list
It is more like that this prodded me to have a look at cgit again, think
of it and realize that it should be pretty easy for me to add cgit to
repo.or.cz. This is just a bonus. :-)
I have already mailed Shawn immediately after the original proposal
was posted that I'm willing to put this up on repo.or.cz as soon as
What kind of statistics?
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 9:05 am 2008 |
| Lars Hjemli | Re: CGit and repository list
Not really, I'd rather add another command (or a commandline option)
to generate an include-file for cgitrc by scanning directory-trees for
git repos. I've CC'd Kristian since I believe he's got such a script
running for freedesktop.org; if so, maybe it could be included/used as
basis for something similar in cgit?
--
larsh
--
| Sep 12, 8:10 am 2008 |
| Shawn O. Pearce | Re: CGit and repository list
The automatic generation of objects/info/packs and info/refs is
planned for support in the smart CGI, but it doesn't help the
"gitweb URL is same as clone URL" concept. For that you need your
HTTP server to know how to issue some requests to gitweb and others
Well, it would help if there was a working implementation of the
"smart" HTTP server. ;-)
Right now I haven't been able to touch the project for two weeks
straight. I'm hoping to be able to put 2 full days into it next
week. Lets ...
| Sep 12, 9:00 am 2008 |
| Shawn O. Pearce | Re: CGit and repository list
The real improvement is on the client side; how long does it take
to do a clone or a fetch with dumb HTTP vs. with smart HTTP. The
latency is horrible for dumb HTTP if the repository is not packed,
or bad if it just repacked and you have to download everything again.
Knowing the transfer time of each request start-to-finish and the
total time for a "session" (e.g. a period of where that IP appears
actively requesting in the logs) would tell you how long a given
client needs to do a fetch or ...
| Sep 12, 10:45 am 2008 |
| mriou | git-svn: file not found in commit
Hi,
I'm trying to import with git-svn an Apache repository located at:
http://svn.eu.apache.org/repos/asf/ode
Doing so, at some point git-svn seems to get lost when identifying a parent:
r563284 = 1e889810d5344e1222077f4026b028a922826d45 (trunk)
Found possible branch point:
https://svn.eu.apache.org/repos/asf/ode/trunk/tasks =>
https://svn.eu.apache.org/repos/asf/ode/branches/bart, 563283
Initializing parent: bart@563283
W: Ignoring error from SVN, path probably does not exist: ...
| Sep 11, 7:48 pm 2008 |
| Jonas Fonseca | [JGIT PATCH 1/3] Fix IncorrectObjectTypeException thrown ...
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
.../src/org/spearce/jgit/lib/Repository.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java b/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
index b27c23d..730a267 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
@@ -628,7 +628,7 @@ else if ...
| Sep 12, 3:57 am 2008 |
| Imran M Yousuf | Re: [JGIT PATCH 1/2] Issue 23: Resolve tag^0 as tag^{commit}
Hmm, I will have to check it. Will come back with some feedback after
--
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@smartitengineering.com
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557
--
| Sep 11, 6:51 pm 2008 |
| Jonas Fonseca | [JGIT PATCH 3/3] Tests and fixes for dereferencing tags ...
Fix Repository.resolve("tag^0") failing with "not a commit" (issue 23).
Add test for resolving "tag^{tree}" where "tag" points to a tag
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
.../spearce/jgit/test/resources/create-second-pack | 8 +++++
...ck-546ff360fe3488adb20860ce3436a2d6373d2796.idx | Bin 0 -> 1324 bytes
...k-546ff360fe3488adb20860ce3436a2d6373d2796.pack | Bin 0 -> 1265 bytes
.../org/spearce/jgit/test/resources/packed-refs | 18 ++++++++++++
...
| Sep 12, 3:57 am 2008 |
| Jonas Fonseca | [JGIT PATCH] Configure the maven surefire plugin to spec ...
By default, the test cases named T000* were not included. With this
patch maven reports that 508 tests have been run.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
jgit-maven/jgit/pom.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
Imran M Yousuf <imran@smartitengineering.com> wrote Fri, Sep 12, 2008:
> On Fri, Sep 12, 2008 at 6:00 AM, Jonas Fonseca <fonseca@diku.dk> wrote:
> > When I run all the tests using maven (inside
> > NetBeans or from the command ...
| Sep 12, 1:40 am 2008 |
| Robin Rosenberg | Re: [JGIT PATCH 1/2] Issue 23: Resolve tag^0 as tag^{commit}
tag^2 means you have a merge commit. I think rev^0 is mentioned here
My guess is you added to original test tag C manually so it got an "non-deterministic" time stamp.
-- robin
--
| Sep 11, 11:47 pm 2008 |
| Jonas Fonseca | Re: [JGIT PATCH 1/2] Issue 23: Resolve tag^0 as tag^{commit}
git-rev-parse(1) says:
· A suffix ^ to a revision parameter means the first parent of that
commit object. ^<n> means the <n>th parent (i.e. rev^ is
equivalent to rev^1). As a special rule, rev^0 means the commit
itself and is used when rev is the object name of a tag object that
refers to a commit object.
but does take tag^1, however not tag^2. It looks like tag~N is broken in
JGit ("not a commit") so should also be fixed if we want to be
compatible with ...
| Sep 11, 5:00 pm 2008 |
| Jonas Fonseca | [JGIT PATCH 2/3] Fix off by one distance during resolvin ...
To be compatible with git-rev-parse, commit~0 should resolve to commit,
commit~1 to commit^, etc.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
.../org/spearce/jgit/lib/T0008_testparserev.java | 9 +++++----
.../src/org/spearce/jgit/lib/Repository.java | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0008_testparserev.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0008_testparserev.java
index ...
| Sep 12, 3:57 am 2008 |
| Shawn O. Pearce | Sep 12, 7:47 am 2008 | |
| Miklos Vajna | Re: RFC: perhaps a "new file" should not be deleted by " ...
Nothing. I should stop advertising that I still use a lot of plumbing
when a porcelain like 'git reset' does the job as well. ;-(
Thanks for the correction.
| Sep 12, 8:41 am 2008 |
| Benjamin Sergeant | Sep 12, 7:55 am 2008 | |
| Petr Baudis | Re: Git on server
Hi,
I'm afraid you will have to elaborate on "had no luck".
Kind regards,
Petr "Pasky" Baudis
--
| Sep 12, 5:15 am 2008 |
| Karl | Re: StGit question
You've probably already found this and dismissed it, but
$ stg uncommit foo bar baz woo wee aaahh
will uncommit six patches and give them those names. So if you just
share the output of
$ stg series --applied --noprefix
along with your branch, the other end will be able to recreate a
series with the same names. (In not-quite-bleeding-edge stg's, "series
--applied" is spelled "applied".)
As for merging your work once both of you have made changes to the
series, the current ...
| Sep 12, 12:51 am 2008 |
| Catalin Marinas | Re: StGit question
As Karl said, we have some plans to allow collaboration between
multiple StGit repositories but we didn't have much time to look at it
recently. Karl's "merge" stuff looks promising though.
What "sync" does is that it allow the same set of patches between two
branches to be synchronised in case modifications happened on one of
these branches. In your situation, you would have to fetch the remote
branch, uncommit as in Karl's method and either import or sync the
remote patches with those on ...
| Sep 12, 3:15 pm 2008 |
| Clark Williams | Re: StGit question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ahhhh, no I hadn't found this. Cool! I wonder if I could save the series in the
branch, so that someone could just checkout the branch and do:
$ stg uncommit $(cat stg-series)
Or, maybe I'll look at adding a --series or --file option to uncommit?
I suspect some chicken-and-egg problems here, but this is workable. And when you're
Most of the time it's not more than one or two patches difference, so I think that it
can be handled manually ...
| Sep 12, 5:41 am 2008 |
| Catalin Marinas | Re: StGit question
BTW, "sync" allows synchronisation with a series of patches stored in
a directory. So you can also share patches using exported repositories
with import and sync.
--
Catalin
--
| Sep 12, 3:18 pm 2008 |
| Karl | Re: StGit question
The patch stack log contains all the required info, so this should be
doable (given that you share your <branchname>.stgit branch, which is
Sure, that sounds like a good idea. I believe there are existing
commands that take a series file argument; check what they call their
Nice to know StGit is being used with series of that size. I usually
never go beyond about 30 myself, so there are certain types of
scalability problems that I won't see.
--
Karl Hasselström, kha@treskal.com
...
| Sep 12, 8:40 am 2008 |
| martin f krafft | Re: [ANNOUNCE] TopGit v0.3
I've considered this question a lot before and could not come up
with anything; you cannot undo a merge.
--=20
martin | http://madduck.net/ | http://two.sentenc.es/
=20
it may look like i'm just sitting here doing nothing.
but i'm really actively waiting
for all my problems to go away.
=20
spamtraps: madduck.bogus@madduck.net
| Sep 12, 11:14 am 2008 |
| Petr Baudis | Re: [ANNOUNCE] TopGit v0.3
But this is rewriting history, isn't it? This would make your work
completely different from others' and that violates one of main TopGit's
design goals. Or am I missing something obvious?
Currently, I'm thinking that something like .topundeps (or !-prefixing
dependencies in .topdeps) is the only way to implement this...
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 4:00 am 2008 |
| Jan Nieuwenhuizen | Re: [ANNOUNCE] TopGit v0.3
No (that would be useless), see
http://kerneltrap.org/mailarchive/git/2008/8/13/2925144 #first tg redepend idea
I've just implemented the second idea
http://kerneltrap.org/mailarchive/git/2008/8/15/2954214
but haven't got any time to test it yet. Then there's also
http://kerneltrap.org/mailarchive/git/2008/8/15/2952004
Yeah, i've been thinking that too. It would be nice if we could
hack around that. It seems that the two redepend ideas get around
it at the ...
| Sep 12, 5:27 am 2008 |
| Petr Baudis | Re: [ANNOUNCE] TopGit v0.3
Hi,
Yes, if you keep all of your TopGit-controlled branches in t/*.
Or just call 'tg remote' on the publishing remote and it will set up
this stuff for you.
--
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
--
| Sep 12, 4:01 am 2008 |
| Petr Baudis | Re: [ANNOUNCE] TopGit v0.3
The read-tree step is broken, you can't do that. The dependencies
content will be gone from your base, but not from the actual head -
what's the point of removing them at all?
Actually, tg patch will then show diff not only of your patch, but the
removed dependencies as well!
There's plenty of other problems with this approach as well. And I can't
That's good point, indirect dependencies problem did not occur to me
before. That's troublesome...
I'm beginning to wonder if it is worth ...
| Sep 12, 6:15 am 2008 |
| Rogan Dawes | Re: [RFC] origin link for cherry-pick and revert
Pardon my confusion, but why include two commit hashes? Surely the
commit already has its parent, so there is no need to include that in
your "cherry pick". And if the commit has more than one parent, then I
doubt you could/should really cherry-pick it anyway.
Besides, you could always augment your local repo with a mapping of
patch ids to commits/commit pairs to reduce lookup time.
Rogan
--
| Sep 11, 11:19 pm 2008 |
| Paolo Bonzini | Re: [RFC] origin link for cherry-pick and revert
Yeah, I must admit I am okay with *this* cache.
Paolo
--
| Sep 12, 8:05 am 2008 |
| Jakub Narebski | Re: [RFC] origin link for cherry-pick and revert
But it is not true that "you can always generate the cache from the
git repository" in this case; the patch-id that is to be saved is
_original_ patch-id of cherry-picked (or reverted) changeset.
OTOH it is not much different from reflog information, which also
cannot be regenerated from object database.
--
Jakub Narebski
Poland
--
| Sep 12, 8:11 am 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
By definition of the origin headerfield that is not wrong, there are no
other rules. But the point is moot at the moment, since I'm going to
create a proof of concept which puts the field in the free-form trailer.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months before Mother's Day."
--
| Sep 11, 10:39 pm 2008 |
| Sam Vilain | Re: [RFC] origin link for cherry-pick and revert
Yes, right - it's the patch ID changing that's the problem for
git-cherry / rev-list --cherry-pick to be able to spot changes as the
'same'.
Someone else pointed out that git-rebase -i might want to have this as well.
I actually looked into coding this, but there was a little problem with
the way git-revert worked - it builds the commit message before the diff
is calculated. So there would probably need to be a little trivial
refactoring first before this can be implemented.
Sam.
--
| Sep 11, 7:24 pm 2008 |
| Theodore Tso | Re: [RFC] origin link for cherry-pick and revert
Actually its the association in the other direction which you'd want
to cache. It's fast given the commit SHA to dig the original patch id
out of the commit message. What is harder is given a patch id X, to
find all of the commits which either (a) have a patch id of X, or (b)
have a commit message indicating that the original patch-id was X. So
having a database which caches this information, so given a patch-id,
you can quickly look up the related commits, is what I believe Sam ...
| Sep 12, 9:00 am 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
To fetch, by default, the origin lines *are* nothing more than arbitrary
If the origin hashes are not reachable, then fsck is required to silently
skip them, according to spec.
If the origin hashes *are* reachable, then fsck is required to verify
that they refer to proper commits with a normal history.
--
Sincerely,
Stephen R. van den Berg.
"There are three types of people in the world;
those who can count, and those who can't."
--
| Sep 11, 5:13 pm 2008 |
| Theodore Tso | Re: [RFC] origin link for cherry-pick and revert
For a local clone, git could be taught to copy the cache file. For a
network-based clone, the percentage of time needed to download is
roughly 2-3 times that (although that will obviously depend on your
network connectivity). Building this cache can be done in the
background, though, or delayed until the first time the cache is
needed.
- Ted
--
| Sep 12, 11:44 am 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
On my system that results in 2ms per commit on average. Not huge, but
not small either, I guess. Running it results in real waiting time, it
all depends on how patient the user is.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months before Mother's Day."
--
| Sep 12, 9:43 am 2008 |
| Jeff King | Re: [RFC] origin link for cherry-pick and revert
For a rough estimate, try:
time git log -p | git patch-id >/dev/null
-Peff
--
| Sep 12, 9:19 am 2008 |
| Paolo Bonzini | Re: [RFC] origin link for cherry-pick and revert
He's proposing storing the original patch id in the commit message, and
caching the commit SHA->patch id association on the side.
Paolo
--
| Sep 12, 8:40 am 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
Fair enough. If noone beats me to it, I'll probably take a stab at
implementing something like this and see how it fares for my own
application.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months before Mother's Day."
--
| Sep 12, 1:56 pm 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
True. But repopulating this cache after cloning means that you have to
calculate the patch-id of *every* commit in the repository. It sounds
like something to avoid, but maybe I'm overly concerned, I have only a
I fully agree that caches are good.
And yes I seem to resist the idea to create a cache at every whim, but
that mostly is because I want to avoid that everyone invents their own
mini-database for each and every data access they want to accellerate.
I mean, ideally, any ...
| Sep 12, 8:54 am 2008 |
| Theodore Tso | Re: [RFC] origin link for cherry-pick and revert
Nope, as Sam suggested in his original message (but which got clipped
by Linus when he was replying) all you have to do is to have a
separate local database which ties commits and patch-id's together as
a cache/index.
I know you seem to be resistent to caches, but caches are **good**
because they are local information, which by definition can be
implementation-dependent; you can always generate the cache from the
git repository if for some reason you need to extend it. It also
means that if ...
| Sep 12, 7:58 am 2008 |
| A Large Angry SCM | Re: [RFC] origin link for cherry-pick and revert
The fetch MUST gather the referenced objects ALWAYS or I can't verify
the history. To do otherwise means that ID strings on the origin lines
are nothing more than an arbitrary text tag and not pointer to a
How do I verify (think git-fsck) that what the origin lines refer to
are, in fact, commits with the proper relationships? Either they HAVE to
be in the repository or the references do not belong in the header.
--
| Sep 11, 5:03 pm 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
Maybe you're right. The reason why my first knee-jerk reaction is
"performance problem" is because:
- The field is rarely present.
- When it is used, we look for it on every commit we traverse.
- This means that finding out the field does *not* exist is the most
common operation, and that effort rises linearly with the number of
commits visited.
Whereas if the information is present in the header or trailer of the
commit, finding out that the field does not exist there is ...
| Sep 12, 1:50 am 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
That will probably work fine when operating locally on (short) temporary
branches.
It would probably become computationally prohibitive to use it between
long lived permanent branches. In that case it would need to be
augmented by the sha1 of the originating commit. Which gives you two
hashes as reference, and in that case you might as well use the two
commit hashes of which the difference yields the patch.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months ...
| Sep 11, 10:47 pm 2008 |
| A Large Angry SCM | Re: [RFC] origin link for cherry-pick and revert
And that's WRONG. Both prior and origin must fetch them if they're
reference in the header.
--
| Sep 11, 5:30 pm 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
Well, actually, sometimes cherry-pick does pick just one of the
(multiple) parents to diff with; also, some people (not I) envisioned
using two commits which were not a direct parent and child of one
another (I'm not quite sure how that would work, but the model would
Yes, possible. But then after cloning, this mapping-cache needs to be
recreated, and that would mean that one would have to walk through all
commits and calculate all patch-id's, of which then only those few which ...
| Sep 11, 11:56 pm 2008 |
| Stephen R. van den Berg | Re: [RFC] origin link for cherry-pick and revert
Attack-wise, you're right, it's not a big deal.
I think the comforting feeling one gets about the hashes protecting
integrity is what matters more for me here.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months before Mother's Day."
--
| Sep 12, 1:40 am 2008 |
| Junio C Hamano | Re: git-gui: more issues with diff parsing
You will have the same issue not for submodules, too. A typechange has
always been expressed as delete followed by create.
Probably you already have learned the nature of change (i.e. create?
modify? delete? typechange?) when you populate the list of files with
changes that could be staged, which means by the time the user picks from
the liast you already know if it is a typechange.
--
| Sep 12, 10:06 am 2008 |
| Jakub Narebski | Re: git-gui: more issues with diff parsing
Hmmm... it looks _exactly_ like a problem I had with writing
"syntax highlighting" (and linkage) for the patchset part of
'commitdiff' and 'blobdiff' views, namely that typechange
(file to symlink and vice versa) generates two patches for
single difftree (raw diff format output) line.
See git_patchset_body in gitweb/gitweb.perl, and is_patch_split
function, and commit message of 0cec6db (gitweb: Fix and simplify
"split patch" detection), which tells about alternate solution.
--
Jakub ...
| Sep 12, 11:01 am 2008 |
| Shawn O. Pearce | Re: git-gui: more issues with diff parsing
The diff is weird:
$ git-diff-index --cached -p --no-color -U5 d6e02aa06c91c711d98ae06e6e69c5de5841a5e5 -- g
diff --git a/g b/g
deleted file mode 100644
index e69de29..1a010b1
diff --git a/g b/g
new file mode 120000
index e69de29..1a010b1
--- /dev/null
+++ b/g
@@ -0,0 +1 @@
+file
\ No newline at end of file
Notice how we get two diffs for the same file? That's why git-gui
is choking on this particular change. It expected only one diff
for the path it gave ...
| Sep 12, 8:23 am 2008 |
| Karl | Re: [StGit PATCH] add option to import series directly f ...
Technically, you write the test to make sure that your new feature
works as intended and won't break in the future. But since that's
Nice.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
--
| Sep 12, 8:44 am 2008 |
| Karl | Re: [StGit PATCH] add option to import series directly f ...
This should be trivial to implement, since git-apply (pardon the dash)
I don't believe git-apply can do this (please correct me if I'm
wrong), and the right way to teach StGit to do it would arguably be to
teach it to git-apply and then make StGit use it. It'd be _possible_
to do it directly in StGit, but it wouldn't be quite the right level,
and git users wouldn't benefit.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
--
| Sep 12, 6:07 am 2008 |
| Samuel Tardieu | Re: [StGit PATCH] add option to import series directly f ...
>>>>> "Clark" == Clark Williams <clark.williams@gmail.com> writes:
Clark> Zowie, I thought I only had to worry about folks sending
Clark> patches with incomplete information. So you get patches to the
Clark> ada compiler that are rooted in gcc/ada (e.g. patch in tarball
Clark> says "./ChangeLog", instead of gcc/ada/ChangeLog) rather than
Clark> at a top level? Only way I could see to deal with that would be
Clark> to try and pass in the appropriate prefix from the command
Clark> line.
Yes, ...
| Sep 12, 6:59 am 2008 |
| Samuel Tardieu | Re: [StGit PATCH] add option to import series directly f ...
>>>>> "Clark" == Clark Williams <clark.williams@gmail.com> writes:
Clark> [...] is to see if I can ease StGit's patch
Clark> import rules a bit, since quilt accepts pretty much anything as
Clark> long as there's a diff in there somewhere. I bomb out regularly
Clark> importing the -rt series using StGit, because some people don't
Clark> put complete email addresses in their patches.
Two things that would be great would be:
- to be able to import patches with "-p0" (people not using git
...
| Sep 12, 5:21 am 2008 |
| Clark Williams | Re: [StGit PATCH] add option to import series directly f ...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm not sure how easy this is going to be. It looks like the patch is applied with
'git --apply' from the file stgit/git.py:apply_patch(). The default '-p' value is 1,
so we'd have to figure out how to pass the 0 along and then get it into the
Zowie, I thought I only had to worry about folks sending patches with incomplete
information. So you get patches to the ada compiler that are rooted in gcc/ada (e.g.
patch in tarball says "./ChangeLog", ...
| Sep 12, 5:57 am 2008 |
| Karl | Re: [StGit PATCH] add option to import series directly f ...
It does have a --directory flag, but that requires the user to specify
the path manually.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
--
| Sep 12, 6:08 am 2008 |
| Jakub Narebski | Re: Git User's Survey 2008 partial summary, part 5 - other SCM
True, I have forgot that "I use this SCM" (or "I used this SCM") doesn't
necessarily mean that one _choose_ this SCM. One can use some SCM
because it is SCM project uses, or because their company requires it;
but not necessary, as git-svn and git-p4 show one can use Git, and
make it interact with respectively Subversion and Perforce, and trying
I hope not. Even Microsoft themselves supposedly doesn't recommend
I don't think 59% (in the example case of using currently Subversion)
is ...
| Sep 12, 3:44 am 2008 |
| Marcus Griep | Re: [PATCH 1/2] Documentation: new upstream rebase recov ...
Minor correction:
-+with an interactive rebase. He edits commits A and D (marked with a
I like this documentation because it provides another clear case of how
the '--onto' option is used.
--=20
Marcus Griep
GPG Key ID: 0x5E968152
=E2=80=94=E2=80=94
http://www.boohaunt.net
=D7=90=D7=AA.=CF=88=CE=BF=C2=B4
| Sep 11, 6:15 pm 2008 |
| Thomas Rast | [RFH] Asciidoc non-example blocks [was: Re: [RFC PATCH] ...
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Turns out that asciidoc, at least the 8.2.5 on my system, does not
honour the custom caption when converting to manpages. They become
numbered 'Example' blocks instead. Is there another way to get a
similar result?
=2D Thomas
=2D-=20
Thomas Rast
trast@student.ethz.ch
| Sep 12, 12:26 am 2008 |
| David Christensen | [PATCH v2] Teach git.el to mark/unmark files by regexp
Teaches git-mark-regexp to respect a prefix argument as an indication
to unmark files. Also adds other dired-like key bindings.
--
| Sep 11, 9:22 pm 2008 |
| David Christensen | [PATCH] Teach git.el to mark/unmark files by regexp
Adds the functions git-mark-regexp and git-unmark-regexp to git.el.
Creates a mark-map keymap to support dired-like behavior for
marking/unmarking via regexp. Also adds these functions to the
menubar.
Signed-off-by: David Christensen <david@endpoint.com>
---
contrib/emacs/git.el | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index 580652c..a982fbe 100644
--- a/contrib/emacs/git.el
+++ ...
| Sep 11, 9:22 pm 2008 |
| previous day | today | next day |
|---|---|---|
| September 11, 2008 | September 12, 2008 | September 13, 2008 |
