On Sat, Jun 01, 2013 at 05:00:07AM +0200, Michael Haggerty wrote:
> This is a known problem. The technical reason that this is not trivial
> to solve is the possibility of a directory/file conflict between old
> reflog files and references that might be created subsequently (which in
> turn is a
On 06/01/2013 03:31 AM, Sitaram Chamarty wrote:
> Is there a way to prevent reflog deletion when the branch is deleted?
> The last entry could simply be a line where the second SHA is all 0's.
This is a known problem. The technical reason that this is not trivial
to solve is the possibility of a
Hi,
Is there a way to prevent reflog deletion when the branch is deleted?
The last entry could simply be a line where the second SHA is all 0's.
--
Sitaram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info a
On Fri, May 31, 2013 at 04:22:37PM -0400, Roland Schulz wrote:
> Hi,
>
> the gitignore rules work so that if a directory is ignored, all files
> in that directory are ignored. While that behavior isn't clearly
> documented in gitignore, this behavior is consistent across all git
> tools (status, l
Hi,
the gitignore rules work so that if a directory is ignored, all files
in that directory are ignored. While that behavior isn't clearly
documented in gitignore, this behavior is consistent across all git
tools (status, ls-files, ...).
An exception is that listing the ignored files using "ls-fi
Hi,
I'm trying to test this new feature and having problems getting any
results in the following scenario:
i have a repo in local folder
/home/users/myuser/repos/projectA/.git
i start the daemon with the following:
git daemon --export-all --base-path=/home/users/myuser/repos
--enable=receive-p
On Thu, May 30, 2013 at 09:23:40PM +0200, Jens Lehmann wrote:
> Am 30.05.2013 01:58, schrieb Junio C Hamano:
> > * jk/submodule-subdirectory-ok (2013-04-24) 3 commits
> > (merged to 'next' on 2013-04-24 at 6306b29)
> > + submodule: fix quoting in relative_path()
> > (merged to 'next' on 2013-0
On Fri, May 31, 2013 at 12:27:11PM +0200, Thomas Rast wrote:
> Thomas Rast writes:
>
> > However, if that turns out to be the culprit, it's not fixable
> > currently[1]. Having commits with insanely long messages is just, well,
> > insane.
> >
> > [1] unless we do a major rework of the loading
On Fri, May 31, 2013 at 10:08:06AM +0200, Thomas Rast wrote:
> > Have you measured the impact of this on normal operations? During a
> > traversal, we spend a measurable amount of time looking up commits in
> > packfiles, and this would presumably double it.
>
> I don't think so, but admittedly I
Hello,
We are another team from Ensimag (Célestin MATTE & Benoit PERSON) who
will contribute to Git and more specifically to Git-Mediawiki for our
one-month school project - and possibly more. We already have a couple
of basic patches in local and will submit them in the upcoming days.
After that,
Am 31.05.2013 08:49, schrieb Martin von Zweigbergk:
> +# f
> +# /
> +# a---b---c---g---h
> +# \
> +# d---G---i
> +#\ \
> +# e---u
> +#
> +# uppercase = cherry-picked
> +# h = reverted g
...
> +test_expect_success "rebase -p --onto in merged history dr
Junio had some suggestions in the previous round. The inter-diff
follows.
Yeah, word-diff is a bit messy. Which brings me to: is it possible to
turn on word-diff only where heuristically appropriate? word-diff
applied on the rewrite of the first paragraph of gitdiffcore.txt is a
disaster, but o
The documentation of -S and -G is very sketchy. Completely rewrite the
sections in Documentation/diff-options.txt and
Documentation/gitdiffcore.txt.
References:
52e9578 ([PATCH] Introducing software archaeologist's tool "pickaxe".)
f506b8e (git log/diff: add -G that greps in the patch text)
Inpu
Currently, diffcore-pickaxe reports two distinct errors for the same
user error:
$ git log --pickaxe-regex -S'\1'
fatal: invalid pickaxe regex: Invalid back reference
$ git log -G'\1' # --pickaxe-regex is implied
fatal: invalid log-grep regex: Invalid back reference
Since the err
Junio C Hamano wrote:
> [...]
I agree with everything else, and made changes accordingly.
> This transformation limits the set of filepairs to those
> that change specified strings between the preimage and the
> postimage in a certain way.
Definitely good.
> -S a
Thomas Rast writes:
> However, if that turns out to be the culprit, it's not fixable
> currently[1]. Having commits with insanely long messages is just, well,
> insane.
>
> [1] unless we do a major rework of the loading infrastructure, so that
> we can teach it to load only the beginning of a c
On 31 May 2013 09:46, Thomas Rast wrote:
> Alex Bennée writes:
>
>> I think you are right. I was brave (well I assumed the tags would come
>> back from the upstream repo) and ran:
>>
>> git for-each-ref | grep "refs/tags" | grep "commit" | cut -d '/' -f 3
>> | xargs git tag -d
>
> So that deleted
On Fri, May 31, 2013 at 09:49:57AM +0100, Alex Bennée wrote:
> On 31 May 2013 09:32, John Keeping wrote:
> > Thomas is suggesting that you might have a tag that does not point at a
> > commit but instead points to a blob object.
>
> It's looking like I just have some very heavy commits. One data
On 31 May 2013 09:32, John Keeping wrote:
> On Fri, May 31, 2013 at 09:14:49AM +0100, Alex Bennée wrote:
>> On 30 May 2013 20:30, John Keeping wrote:
>> > On Thu, May 30, 2013 at 06:21:55PM +0200, Thomas Rast wrote:
>> >> Alex Bennée writes:
>> >>
>> >> > On 30 May 2013 16:33, Thomas Rast wrote
Alex Bennée writes:
> I think you are right. I was brave (well I assumed the tags would come
> back from the upstream repo) and ran:
>
> git for-each-ref | grep "refs/tags" | grep "commit" | cut -d '/' -f 3
> | xargs git tag -d
So that deleted all unannotated tags pointing at commits, and then i
On 31 May 2013 09:24, Thomas Rast wrote:
> Alex Bennée writes:
>> On 30 May 2013 20:30, John Keeping wrote:
>>> On Thu, May 30, 2013 at 06:21:55PM +0200, Thomas Rast wrote:
Alex Bennée writes:
> On 30 May 2013 16:33, Thomas Rast wrote:
>
No, my theory is that you tagged *the bl
On Fri, May 31, 2013 at 09:14:49AM +0100, Alex Bennée wrote:
> On 30 May 2013 20:30, John Keeping wrote:
> > On Thu, May 30, 2013 at 06:21:55PM +0200, Thomas Rast wrote:
> >> Alex Bennée writes:
> >>
> >> > On 30 May 2013 16:33, Thomas Rast wrote:
> >> >> Alex Bennée writes:
> >
> >> > Will it
Felipe Contreras wrote:
> When a reviewer reaches that point, (s)he usually says: other than
> cosmetic preferences: Reviewed-by: me.
Yes, you can have a Reviewed-by from me if you want.
And yes, it is appropriate not to CC me on v8 and v9, since I have no
further comments.
--
To unsubscribe from
read_cache() already does that check.
Signed-off-by: Felipe Contreras
---
submodule.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/submodule.c b/submodule.c
index e728025..1821a5b 100644
--- a/submodule.c
+++ b/submodule.c
@@ -603,9 +603,8 @@ int fetch_populated_submo
Alex Bennée writes:
> On 30 May 2013 20:30, John Keeping wrote:
>> On Thu, May 30, 2013 at 06:21:55PM +0200, Thomas Rast wrote:
>>> Alex Bennée writes:
>>>
>>> > On 30 May 2013 16:33, Thomas Rast wrote:
>>> >> Alex Bennée writes:
>>
>>> > Will it be loading the blob for every commit it trave
On Thu, May 30, 2013 at 10:13 AM, René Scharfe
wrote:
> Am 30.05.2013 15:34, schrieb Felipe Contreras:
>> We don't free 'istate->cache' properly.
>>
>> Apparently 'initialized' doesn't really mean initialized, but loaded, or
>> rather 'not-empty', and the cache can be used even if it's not
>> 'ini
Ramkumar Ramachandra writes:
> Thomas Rast wrote:
>> + struct object *obj;
>> + int type = sha1_object_info(sha1, NULL);
>> + /* If it's neither tag nor commit, parsing the object is wasted
>> effort */
>> + if (type != OBJ_TAG && type != OBJ_COMMIT)
>> + re
On 30 May 2013 20:30, John Keeping wrote:
> On Thu, May 30, 2013 at 06:21:55PM +0200, Thomas Rast wrote:
>> Alex Bennée writes:
>>
>> > On 30 May 2013 16:33, Thomas Rast wrote:
>> >> Alex Bennée writes:
>
>> > Will it be loading the blob for every commit it traverses or just ones
>> > that hi
On Fri, May 31, 2013 at 3:03 AM, Ramkumar Ramachandra
wrote:
> Felipe Contreras wrote:
>> I was going to make these stylistic changes to make you happy, but
>> then I realized the only that does really make sense is to change msg
>> = nil to msg = false, and it's not even worth to waste a thought
Jeff King writes:
> On Thu, May 30, 2013 at 10:00:23PM +0200, Thomas Rast wrote:
>
>> lookup_commit_reference_gently unconditionally parses the object given
>> to it. This slows down git-describe a lot if you have a repository
>> with large tagged blobs in it: parse_object() will read the entire
Felipe Contreras wrote:
> I was going to make these stylistic changes to make you happy, but
> then I realized the only that does really make sense is to change msg
> = nil to msg = false, and it's not even worth to waste a thought on
> changes like that.
We don't have existing Ruby code in git.gi
On Thu, May 30, 2013 at 6:31 AM, Felipe Contreras
wrote:
> On Thu, May 30, 2013 at 4:01 AM, Ramkumar Ramachandra
> Not a single one of these comments makes a difference at all, all of
> them can wait until after the patch is merged, many of them are a
> matter of preferences, and some of them hav
On Fri, May 31, 2013 at 2:37 AM, Felipe Contreras
wrote:
> Since there hasn't been any comments of importance this is basically the same
> as v7, plus a few other patches to make it actually usable (for me).
>
> Unfortunately it turns out Ruby's optparse is not suitable for our needs, so I
> impl
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 15 +++
1 file changed, 15 insertions(+)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 20eb456..bded6f6 100755
--- a/contrib/related/git-related
+++ b/contrib/related/git-related
@@ -105,
This script find people that might be interested in a patch, by going
back through the history for each single hunk modified, and finding
people that reviewed, acknowledge, signed, or authored the code the
patch is modifying.
It does this by running 'git blame' incrementally on each hunk, and then
For example master..feature-a.
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 38 --
1 file changed, 36 insertions(+), 2 deletions(-)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 3379982..20eb456 100755
--- a
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 35 +++
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 1b9b1e7..3379982 100755
--- a/contrib/related/git-related
+++ b
Hi,
I changed my mind, this is the same as v9 but minus some potentially
controversial changes.
Felipe Contreras (4):
Add new git-related helper to contrib
contrib: related: add support for multiple patches
contrib: related: add option to parse from committish
contrib: related: parse comm
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 15 +++
1 file changed, 15 insertions(+)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 3573237..585572b 100755
--- a/contrib/related/git-related
+++ b/contrib/related/git-related
@@ -121,
Hi,
Since there hasn't been any comments of importance this is basically the same
as v7, plus a few other patches to make it actually usable (for me).
Unfortunately it turns out Ruby's optparse is not suitable for our needs, so I
implemented a very small parser that is.
Felipe Contreras (6):
A
This script find people that might be interested in a patch, by going
back through the history for each single hunk modified, and finding
people that reviewed, acknowledge, signed, or authored the code the
patch is modifying.
It does this by running 'git blame' incrementally on each hunk, and then
Ruby's option parser is not extensible enough to keep unknown options.
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 83 ++---
1 file changed, 71 insertions(+), 12 deletions(-)
diff --git a/contrib/related/git-related b/contrib/related
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 35 +++
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index bde5b99..0de1c6c 100755
--- a/contrib/related/git-related
+++ b
For example master..feature-a.
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 38 --
1 file changed, 36 insertions(+), 2 deletions(-)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 0de1c6c..3573237 100755
--- a
Signed-off-by: Felipe Contreras
---
contrib/related/git-related | 16
1 file changed, 16 insertions(+)
diff --git a/contrib/related/git-related b/contrib/related/git-related
index 1b9b1e7..bde5b99 100755
--- a/contrib/related/git-related
+++ b/contrib/related/git-related
@@ -3,9
45 matches
Mail list logo