Hallo,
bei der Recherche zum E-Book "E-Mail: Anbieter und Software" bin ich auf Ihre
Webseite aufmerksam geworden. Eventuell ist das E-Book ja auch für Ihre Leser
interessant:
http://www.homepage-erstellen.de/thema/e-mail
Wäre es möglich, dass Sie meine Webseite bzw. das E-Book verlinken, z.
On Thu, Apr 06, 2017 at 10:41:41PM +0200, René Scharfe wrote:
> b1ef400e (setup_git_env: avoid blind fall-back to ".git") made programs
> that tried to access a repository without initializing properly die with
> a diagnostic message. One offender is test-read-cache, which is used in
> p0002.
On Thu, Apr 06, 2017 at 03:48:07PM -0700, Stefan Beller wrote:
> On Thu, Apr 6, 2017 at 1:37 PM, wrote:
> > From: Jeff Hostetler
> >
> > Teach traverse_trees_recursive() to not do redundant ODB
> > lookups when both directories refer to the same
Hi, all,
I have a problem when I use command 'git branch -avv', the result is
like below:
my_test_branchd67ab86 fix some problem
* master 27c4e0b [origin/master]
Add new file
See merge request !146g within bucketsa824 Merge branch
On Thu, Apr 06, 2017 at 06:43:06PM +0200, Tom G. Christensen wrote:
> On 06/04/17 11:21, Jeff King wrote:
> > On Wed, Apr 05, 2017 at 11:33:37AM +0200, Tom G. Christensen wrote:
> > > I don't use the el3 and el4 versions much any more and el5 use will also
> > > drop of now as I'm busy converting
On Thu, Apr 06, 2017 at 07:24:54PM +0200, Christian Couder wrote:
> > That would at least tell you if the problem is the chunked encoding, or
> > if it's related to the size.
>
> The above commands work for me using gitlab.com and the log shows:
>
> Send header, 000309 bytes (0x0135)
>
On Thu, Apr 06, 2017 at 04:34:39PM +, g...@jeffhostetler.com wrote:
> Teach add_index_entry_with_check() and has_dir_name()
> to avoid index lookups if the given path sorts after
> the last entry in the index.
>
> This saves at least 2 binary searches per entry.
>
> This improves
On Thu, Apr 06, 2017 at 09:26:15AM -0400, Jeff Hostetler wrote:
> > > +export depth
> > > +export width
> > > +export files
> >
> > Why are these exported? test_expect_success code (unlike test_per
> > code) runs in the same shell as outside, so it doesn't seem necessary.
>
> I'm still trying
Good Day, We offer l oans at 3% rate. To apply, contact us with AMOUNT
NEEDED/DURATION for more info. Thanks
Am 06.04.2017 um 22:37 schrieb g...@jeffhostetler.com:
From: Jeff Hostetler
Teach traverse_trees_recursive() to not do redundant ODB
lookups when both directories refer to the same OID.
In operations such as read-tree, checkout, and merge when
the differences between
Am 06.04.2017 um 18:34 schrieb g...@jeffhostetler.com:
diff --git a/read-cache.c b/read-cache.c
index 9054369..e8f1900 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -887,6 +887,26 @@ static int has_file_name(struct index_state *istate,
return retval;
}
+
+/*
+ * Like strcmp(),
On Wed, Apr 5, 2017 at 11:10 PM, Ben Nason wrote:
> Hi,
>
> In git if you replace a subdirectory with a submodule in one branch,
> every successive merge from another branch without that change will
> cause a conflict. To reproduce this please see below (DOS batch file).
>
>
On Thu, Apr 6, 2017 at 1:37 PM, wrote:
> From: Jeff Hostetler
>
> Teach traverse_trees_recursive() to not do redundant ODB
> lookups when both directories refer to the same OID.
And the reason for this is that omitting the second lookup
saves
On 04/06, Jeff Hostetler wrote:
>
>
> On 4/6/2017 6:14 PM, Thomas Gummerer wrote:
> >On 04/06, g...@jeffhostetler.com wrote:
> >>From: Jeff Hostetler
> >>
> >>Signed-off-by: Jeff Hostetler
> >>---
> >> t/perf/p0005-status.sh | 61
> >>
On 4/6/2017 6:14 PM, Thomas Gummerer wrote:
On 04/06, g...@jeffhostetler.com wrote:
From: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/perf/p0005-status.sh | 61 ++
1 file changed, 61
Am 06.04.2017 um 19:31 schrieb René Scharfe:
Am 06.04.2017 um 18:33 schrieb Johannes Sixt:
Am 06.04.2017 um 17:42 schrieb Martin Liška:
+static inline void *sane_memmove(void *dest, const void *src, size_t n)
+{
+if (n > 0)
+return memmove(dest, src, n);
+else
+return
> A couple of weeks back I floated a similar proposal of a patch[1], but
> as far as I remember Peff hinted that it is a bad UI to do it on such a
> generic early level[2]. And you also mention here that we'd not affect
> git-diff or other commands that do not have RUN_SETUP set.
>
> [1]
On 4/6/2017 4:20 PM, René Scharfe wrote:
Am 05.04.2017 um 19:38 schrieb g...@jeffhostetler.com:
diff --git a/t/helper/test-strcmp-offset.c
b/t/helper/test-strcmp-offset.c
new file mode 100644
index 000..fe01318
--- /dev/null
+++ b/t/helper/test-strcmp-offset.c
@@ -0,0 +1,64 @@
+#include
b1ef400e (setup_git_env: avoid blind fall-back to ".git") made programs
that tried to access a repository without initializing properly die with
a diagnostic message. One offender is test-read-cache, which is used in
p0002. Fix it by calling setup_git_directory() before accessing the
index.
On 4/6/2017 4:20 PM, René Scharfe wrote:
Am 05.04.2017 um 19:38 schrieb g...@jeffhostetler.com:
From: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/perf/p0004-read-tree.sh | 116 ++
1 file
From: Jeff Hostetler
Teach traverse_trees_recursive() to not do redundant ODB
lookups when both directories refer to the same OID.
In operations such as read-tree, checkout, and merge when
the differences between the commits are relatively small,
there will likely be
From: Jeff Hostetler
Avoid duplicate ODB lookups for trees during traverse_tree_recursive().
I'm marking this WIP so we can talk about the TODO in the
commit message.
Jeff Hostetler (1):
unpack-trees: avoid duplicate ODB lookups during checkout
tree-walk.c| 8
Hello,
I have noticed that in the "latest" versions of git, `git branch -d
branch` instead of refusing to delete a branch that hasn't been merged
to HEAD, it now throws a warning and deleting the local branch if it's
present in a remote.
Example:
```
> git branch -d command-runner
warning:
Am 05.04.2017 um 19:38 schrieb g...@jeffhostetler.com:
diff --git a/t/helper/test-strcmp-offset.c b/t/helper/test-strcmp-offset.c
new file mode 100644
index 000..fe01318
--- /dev/null
+++ b/t/helper/test-strcmp-offset.c
@@ -0,0 +1,64 @@
+#include "cache.h"
+
+struct test_data {
+ const
Am 05.04.2017 um 19:38 schrieb g...@jeffhostetler.com:
> From: Jeff Hostetler
>
> Signed-off-by: Jeff Hostetler
> ---
> t/perf/p0004-read-tree.sh | 116
> ++
> 1 file changed, 116 insertions(+)
>
Hello Eric,
On 06/04/2017 16:03, Eric Belhomme wrote:
> Until now I ever had a quite "basic" Git usage, but now I'm working
> on a project based on Git hooks feature.. and I'm a very beginner
> with Git hooks !
>
> My need consist doing a syntax check on submitted files before a 'git
> push'.
On 04/06, g...@jeffhostetler.com wrote:
> From: Jeff Hostetler
>
> Signed-off-by: Jeff Hostetler
> ---
> t/perf/p0005-status.sh | 61
> ++
> 1 file changed, 61 insertions(+)
> create mode 100755
>>
>> But I don't know how to get the *content* of the file being submitted to run
>> my syntax check rules against it !
>>
> git log -p ..
> git diff ..
or in case of the tool requiring a full worktree
mkdir /tmp/test
GIT_WORKTREE=/tmp/test git checkout -f
and then perform
Hallo,
Mein Name ist Brinda Khaled, ich werde gerne mehr über dich wissen, ich
möchte nur meine Ansicht mit dir teilen, wenn es dir nichts ausmacht. Ich
werde mehr erzählen, wenn ich von dir antworte. Danke und ich warte auf
deine Antwort.
Brinda
On Thu, Apr 6, 2017 at 4:03 PM, Eric Belhomme wrote:
> Until now I ever had a quite "basic" Git usage, but now I'm working on a
> project based on Git hooks feature.. and I'm a very beginner with Git hooks
> !
>
> My need consist doing a syntax check on submitted files
On Wed, Apr 5, 2017 at 11:00 PM, Prathamesh Chavan wrote:
> The main motivations for disallowing git commands within an
> unpopulated submodule are:
>
> Whenever we run "git -C status" within an unpopulated submodule, it
> falls back to the superproject. This occurs since there
On 04/05, Jacob Keller wrote:
> On Fri, Mar 31, 2017 at 5:19 PM, Jonathan Nieder wrote:
> > Brandon Williams wrote:
> >
> >> Teach push --recurse-submodules to propagate push-options recursively to
> >> the pushes performed in the submodules.
> >
> > Some time in the future we
Am 06.04.2017 um 18:33 schrieb Johannes Sixt:
Am 06.04.2017 um 17:42 schrieb Martin Liška:
+static inline void *sane_memmove(void *dest, const void *src, size_t n)
+{
+if (n > 0)
+return memmove(dest, src, n);
+else
+return dest;
+}
Huh? memmove with n == 0 is
On Tue, Apr 4, 2017 at 10:40 PM, Jeff King wrote:
> On Tue, Apr 04, 2017 at 06:42:23PM +, David Turner wrote:
>
>> > What does it look like when it fails? What does GIT_TRACE_CURL look like
>> > (or
>> > GIT_CURL_VERBOSE if your client is older, but remember to sanitize any
Hi,
Sometimes when working on a repository with files excluded using the
sparse checkout feature, the skip-worktree flag is incorrectly unset
causing files to show as deleted in git status.
Initially I reported this to git-for-windows at
https://github.com/git-for-windows/git/issues/811 but was
On 06/04/17 11:21, Jeff King wrote:
On Wed, Apr 05, 2017 at 11:33:37AM +0200, Tom G. Christensen wrote:
I don't use the el3 and el4 versions much any more and el5 use will also
drop of now as I'm busy converting machines from el5 to el7.
Thanks for sharing, that's a really interesting data
From: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/perf/p0004-read-tree.sh | 117 ++
1 file changed, 117 insertions(+)
create mode 100755 t/perf/p0004-read-tree.sh
diff --git
From: Jeff Hostetler
Version 6 combines the strcmp_offset() function and unit tests
into a single commit and places it first in the history, so that
it can be isolated into a separate patch series if desired. It
also clarifies the return value when the strings are equal.
From: Jeff Hostetler
Add strcmp_offset() function to also return the offset of the
first change.
Add unit test and helper to verify.
Signed-off-by: Jeff Hostetler
---
Makefile | 1 +
cache.h | 1 +
From: Jeff Hostetler
Teach add_index_entry_with_check() and has_dir_name()
to see if the path of the new item is greater than the
last path in the index array before attempting to search
for it.
During checkout, merge_working_tree() populates the new
index in sorted
Am 06.04.2017 um 17:42 schrieb Martin Liška:
+static inline void *sane_memmove(void *dest, const void *src, size_t n)
+{
+ if (n > 0)
+ return memmove(dest, src, n);
+ else
+ return dest;
+}
Huh? memmove with n == 0 is well-defined. This wrapper is
On 4/6/2017 10:19 AM, SZEDER Gábor wrote:
Add strcmp_offset() function to also return the offset of the
first change.
Signed-off-by: Jeff Hostetler
---
cache.h | 1 +
read-cache.c | 29 +
2 files changed, 30 insertions(+)
diff --git
On 04/06/2017 02:26 PM, René Scharfe wrote:
> Am 06.04.2017 um 11:52 schrieb Martin Liška:
>> I'm sending (v2), where I updated commit message and wrapped 2 problematic
>> places to newly introduced macros that do the check. Follow-up patch can
>> change usages of memcpy and memove.
>
>> diff
We can help you with a genuine loan to meet your needs.
Do you need a personal or business loan without stress and quick
approval?
Do you need an urgent loan today? No Credit Checks
* LOAN APPROVAL IN 60MINS !!
* GUARANTEED SAME DAY TRANSFER !!
* 100% APPROVAL RATE !!
* LOW INTEREST RATE !!
> @@ -1779,6 +1780,31 @@ static void wt_shortstatus_print_tracking(struct
> wt_status *s)
> }
>
> color_fprintf(s->fp, header_color, "]");
> +
> + inprogress:
> + if (!s->show_inprogress)
> + goto conclude;
> + memset(, 0, sizeof(state));
> +
On 4/6/2017 4:21 AM, Johannes Schindelin wrote:
Hi Gábor,
On Thu, 6 Apr 2017, SZEDER Gábor wrote:
I think this patch should be squashed into the previous commit; I
don't see any reason why the tests should be added in a different
commit than the function they are testing.
Will do.
I
> Add strcmp_offset() function to also return the offset of the
> first change.
>
> Signed-off-by: Jeff Hostetler
> ---
> cache.h | 1 +
> read-cache.c | 29 +
> 2 files changed, 30 insertions(+)
>
> diff --git a/cache.h b/cache.h
>
Hello the list,
Until now I ever had a quite "basic" Git usage, but now I'm working on a
project based on Git hooks feature.. and I'm a very beginner with Git
hooks !
My need consist doing a syntax check on submitted files before a 'git
push'. So the right hook is 'pre-receive' and I'm
On 4/5/2017 6:54 PM, SZEDER Gábor wrote:
Teach add_index_entry_with_check() and has_dir_name()
to see if the path of the new item is greater than the
last path in the index array before attempting to search
for it.
During checkout, merge_working_tree() populates the new
index in sorted order,
On 4/5/2017 10:22 PM, Duy Nguyen wrote:
On Thu, Mar 23, 2017 at 8:46 PM, wrote:
This patch series is a performance optimization for
lazy_init_name_hash() in name-hash.c on very large
repositories.
This change allows lazy_init_name_hash() to optionally
use multiple
From: Jeff Hostetler
Use ALLOC_GROW() macro when reallocing a string_list array
rather than simply increasing it by 32. This is a performance
optimization.
During status on a very large repo and there are many changes,
a significant percentage of the total run time is
From: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/perf/p0005-status.sh | 61 ++
1 file changed, 61 insertions(+)
create mode 100755 t/perf/p0005-status.sh
diff --git
From: Jeff Hostetler
Version 3 eliminates unnecessary exports from p0005 perf test
(and fixes the mode bits).
Use ALLOC_GROW() macro when reallocating a string_list array
rather than simply increasing it by 32. This helps performance
of status on very
On 4/5/2017 5:33 PM, Jonathan Nieder wrote:
Hi,
g...@jeffhostetler.com wrote:
+++ b/t/perf/p0005-status.sh
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+test_description="Tests performance of read-tree"
+
+. ./perf-lib.sh
+
+test_perf_default_repo
+test_checkout_worktree
+
+## usage: dir depth width files
Am 06.04.2017 um 11:52 schrieb Martin Liška:
> I'm sending (v2), where I updated commit message and wrapped 2 problematic
> places to newly introduced macros that do the check. Follow-up patch can
> change usages of memcpy and memove.
> diff --git a/apply.c b/apply.c
> index e6dbab26a..eacca29fa
On 04/06/2017 10:55 AM, Johannes Schindelin wrote:
> Hi Martin,
>
> On Thu, 6 Apr 2017, Martin Liška wrote:
>
>> Following patch fixes issues that can be seen with -fsanitize=address on
>> GCC 7.
>
> Good catch.
Yep, actually it was me who wrote the new use-after-scope support in GCC 7.
And I
On 04/06/2017 10:34 AM, Jeff King wrote:
> On Thu, Apr 06, 2017 at 10:02:22AM +0200, Martin Liška wrote:
>
>> Subject: [PATCH 1/2] Fix nonnull errors reported by UBSAN with GCC 7.
>>
>> Memory functions like memmove and memcpy should not be called
>> with an argument equal to NULL.
>
> Yeah,
On Wed, Apr 05, 2017 at 03:04:24PM +0200, Tom G. Christensen wrote:
> Commit 17966c0a added an unguarded use of curl_easy_strerror.
> This adds a guard so it is not used with curl < 7.12.0.
>
> Signed-off-by: Tom G. Christensen
> ---
> http.c | 4
> 1 file changed, 4
On Wed, Apr 05, 2017 at 11:33:37AM +0200, Tom G. Christensen wrote:
> FWIW I maintain freely available updated git packages for RHEL 3, 4, 5, 6
> and 7.
>
> They can be found here:
> https://jupiterrise.com/blog/jrpms/
>
> And direct access here:
> https://jupiterrise.com/jrpms/ (for
On Thu, Apr 06, 2017 at 12:53:01AM +, brian m. carlson wrote:
> > It would be great to have them on-list, as far as I can tell they were
> > never submitted? Is there some time/administrative reason for why
> > you're not submitting them? Some of these are many years old, it would
> > be
Hi Martin,
On Thu, 6 Apr 2017, Martin Liška wrote:
> Following patch fixes issues that can be seen with -fsanitize=undefined
> on GCC 7.
The commit message says:
Memory functions like memmove and memcpy should not be called
with an argument equal to NULL.
But the patch is not
Hi Martin,
On Thu, 6 Apr 2017, Martin Liška wrote:
> Following patch fixes issues that can be seen with -fsanitize=address on
> GCC 7.
Good catch.
However, it may make more sense to switch to using the "args" field
instead of the "argv" field: it is of type "struct argv_array" and is
released
On Thu, Apr 06, 2017 at 10:02:22AM +0200, Martin Liška wrote:
> Subject: [PATCH 1/2] Fix nonnull errors reported by UBSAN with GCC 7.
>
> Memory functions like memmove and memcpy should not be called
> with an argument equal to NULL.
Yeah, makes sense. Your fixes are obviously correct. In other
On Thu, Apr 06, 2017 at 10:02:45AM +0200, Martin Liška wrote:
> Subject: [PATCH 2/2] Fix stack-use-after-scope error reported by ASAN by GCC
> 7.
>
> The use-after-scope is triggered here:
> READ of size 8 at 0x7ffc4f674e20 thread T0
> #0 0x6f0b69 in finish_command
>
Hi Gábor,
On Thu, 6 Apr 2017, SZEDER Gábor wrote:
> I think this patch should be squashed into the previous commit; I
> don't see any reason why the tests should be added in a different
> commit than the function they are testing.
I am of two minds there. In some cases, the newly added test
Hello.
Following patch fixes issues that can be seen with -fsanitize=address on GCC 7.
Patch was tested with make test.
Thanks,
Martin
>From 79dace4bdac4f571c14c7edb9b1007c155475c3f Mon Sep 17 00:00:00 2001
From: marxin
Date: Wed, 5 Apr 2017 14:32:29 +0200
Subject: [PATCH 2/2]
Hello.
Following patch fixes issues that can be seen with -fsanitize=undefined on GCC
7.
Patch was tested with make test.
Thanks,
Martin
>From e6d2d5ee5614acdbe67b79aeb0fdc9b53cf3a828 Mon Sep 17 00:00:00 2001
From: marxin
Date: Wed, 5 Apr 2017 14:31:32 +0200
Subject: [PATCH
Hi,
In git if you replace a subdirectory with a submodule in one branch,
every successive merge from another branch without that change will
cause a conflict. To reproduce this please see below (DOS batch file).
Is this expected behavior?
Thanks,
Benbuck
:: prep simple repo with subdir
git
The main motivations for disallowing git commands within an
unpopulated submodule are:
Whenever we run "git -C status" within an unpopulated submodule, it
falls back to the superproject. This occurs since there is no .git
file in the submodule directory. So superproject's status gets displayed.
The main motivations for disallowing git commands within an
unpopulated submodule are:
Whenever we run "git -C status" within an unpopulated submodule, it
falls back to the superproject. This occurs since there is no .git
file in the submodule directory. So superproject's status gets displayed.
70 matches
Mail list logo