"E-Mail: Anbieter und Software" E-Book

2017-04-06 Thread Dieter Fischer
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.

Re: [PATCH] test-read-cache: setup git dir

2017-04-06 Thread Jeff King
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.

Re: [PATCH v1] unpack-trees: avoid duplicate ODB lookups during checkout

2017-04-06 Thread Jeff King
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

[BUG?] Issue with branch -avv command

2017-04-06 Thread diguazhixiu
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

Re: [RFC] dropping support for ancient versions of curl

2017-04-06 Thread Jeff King
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

Re: [PATCH v3] http.postbuffer: allow full range of ssize_t values

2017-04-06 Thread Jeff King
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) >

Re: [PATCH v6 0/3] read-cache: speed up add_index_entry

2017-04-06 Thread Jeff King
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

Re: [PATCH v1 2/2] p0005-status: time status on very large repo

2017-04-06 Thread Jeff King
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

3% L oans

2017-04-06 Thread Kingfisher Finance
Good Day, We offer l oans at 3% rate. To apply, contact us with AMOUNT NEEDED/DURATION for more info. Thanks

Re: [PATCH v1] unpack-trees: avoid duplicate ODB lookups during checkout

2017-04-06 Thread René Scharfe
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

Re: [PATCH v6 1/3] read-cache: add strcmp_offset function

2017-04-06 Thread René Scharfe
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(),

Re: [BUG?] Issue with merging from another branch after replacing subdirectory with submodule

2017-04-06 Thread Stefan Beller
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). > >

Re: [PATCH v1] unpack-trees: avoid duplicate ODB lookups during checkout

2017-04-06 Thread Stefan Beller
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

Re: [PATCH v3 2/2] p0005-status: time status on very large repo

2017-04-06 Thread Thomas Gummerer
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 > >>

Re: [PATCH v3 2/2] p0005-status: time status on very large repo

2017-04-06 Thread Jeff Hostetler
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

Re: [PATCH v3 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Johannes Sixt
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

Re: [GSoC][PATCH v1] Disallow git commands from within unpopulated submodules

2017-04-06 Thread Prathamesh Chavan
> 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]

Re: [PATCH v5 3/4] test-strcmp-offset: created test for strcmp_offset

2017-04-06 Thread Jeff Hostetler
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

[PATCH] test-read-cache: setup git dir

2017-04-06 Thread René Scharfe
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.

Re: [PATCH v5 1/4] p0004-read-tree: perf test to time read-tree

2017-04-06 Thread Jeff Hostetler
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

[PATCH v1] unpack-trees: avoid duplicate ODB lookups during checkout

2017-04-06 Thread git
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

[PATCH v1] WIP unpack-trees: avoid duplicate ODB lookups during checkout

2017-04-06 Thread git
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

Git branch deletion not based on HEAD branch anymore

2017-04-06 Thread Javier Domingo Cansino
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:

Re: [PATCH v5 3/4] test-strcmp-offset: created test for strcmp_offset

2017-04-06 Thread René Scharfe
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

Re: [PATCH v5 1/4] p0004-read-tree: perf test to time read-tree

2017-04-06 Thread René Scharfe
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(+) >

Re: how-to get commit content with pre-receive hook ?

2017-04-06 Thread Igor Djordjevic
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'.

Re: [PATCH v3 2/2] p0005-status: time status on very large repo

2017-04-06 Thread Thomas Gummerer
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

Re: how-to get commit content with pre-receive hook ?

2017-04-06 Thread Stefan Beller
>> >> 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,

2017-04-06 Thread kcullen73
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

Re: how-to get commit content with pre-receive hook ?

2017-04-06 Thread Ævar Arnfjörð Bjarmason
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

Re: [GSoC][PATCH v1] Disallow git commands from within unpopulated submodules

2017-04-06 Thread Stefan Beller
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

Re: [PATCH v2 2/2] push: propagate push-options with --recurse-submodules

2017-04-06 Thread Brandon Williams
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

Re: [PATCH v3 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread 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 dest; +} Huh? memmove with n == 0 is

Re: [PATCH v3] http.postbuffer: allow full range of ssize_t values

2017-04-06 Thread Christian Couder
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

Sparse-checkout excluded files show as deleted in git status after some operations

2017-04-06 Thread Ross Allan
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

Re: [RFC] dropping support for ancient versions of curl

2017-04-06 Thread Tom G. Christensen
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

[PATCH v6 2/3] p0004-read-tree: perf test to time read-tree

2017-04-06 Thread git
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

[PATCH v6 0/3] read-cache: speed up add_index_entry

2017-04-06 Thread 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.

[PATCH v6 1/3] read-cache: add strcmp_offset function

2017-04-06 Thread git
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 +

[PATCH v6 3/3] read-cache: speed up add_index_entry during checkout

2017-04-06 Thread git
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

Re: [PATCH v3 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread 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 well-defined. This wrapper is

Re: [PATCH v5 2/4] read-cache: add strcmp_offset function

2017-04-06 Thread Jeff Hostetler
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

Re: [PATCH v3 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Martin Liška
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

Loan offer.

2017-04-06 Thread Quick Loans
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 !!

Re: [PATCH] status: show in-progress info for short status

2017-04-06 Thread SZEDER Gábor
> @@ -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)); > +

Re: [PATCH v5 3/4] test-strcmp-offset: created test for strcmp_offset

2017-04-06 Thread Jeff Hostetler
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

Re: [PATCH v5 2/4] read-cache: add strcmp_offset function

2017-04-06 Thread SZEDER Gábor
> 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 >

how-to get commit content with pre-receive hook ?

2017-04-06 Thread Eric Belhomme
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

Re: [PATCH v5 4/4] read-cache: speed up add_index_entry during checkout

2017-04-06 Thread Jeff Hostetler
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,

Re: [PATCH v2 0/7] thread lazy_init_name_hash

2017-04-06 Thread Jeff Hostetler
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

[PATCH v3 1/2] string-list: use ALLOC_GROW macro when reallocing string_list

2017-04-06 Thread git
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

[PATCH v3 2/2] p0005-status: time status on very large repo

2017-04-06 Thread git
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

[PATCH v3 0/2] string-list: use ALLOC_GROW macro when reallocing

2017-04-06 Thread 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

Re: [PATCH v1 2/2] p0005-status: time status on very large repo

2017-04-06 Thread Jeff Hostetler
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

Re: [PATCH v2 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread René Scharfe
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

Re: [PATCH v2 2/2] Fix stack-use-after-scope error reported by ASAN by GCC 7.

2017-04-06 Thread Martin Liška
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

Re: [PATCH v2 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Martin Liška
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,

Re: [PATCH 7/7] Do not use curl_easy_strerror with curl < 7.12.0

2017-04-06 Thread Jeff King
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

Re: [RFC] dropping support for ancient versions of curl

2017-04-06 Thread Jeff King
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

Re: [RFC] dropping support for ancient versions of curl

2017-04-06 Thread Jeff King
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

Re: [PATCH 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Johannes Schindelin
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

Re: [PATCH 2/2] Fix stack-use-after-scope error reported by ASAN by GCC 7.

2017-04-06 Thread Johannes Schindelin
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

Re: [PATCH 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Jeff King
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

Re: [PATCH 2/2] Fix stack-use-after-scope error reported by ASAN by GCC 7.

2017-04-06 Thread Jeff King
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 >

Re: [PATCH v5 3/4] test-strcmp-offset: created test for strcmp_offset

2017-04-06 Thread Johannes Schindelin
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

[PATCH 2/2] Fix stack-use-after-scope error reported by ASAN by GCC 7.

2017-04-06 Thread Martin Liška
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]

[PATCH 1/2] Fix nonnull errors reported by UBSAN with GCC 7.

2017-04-06 Thread Martin Liška
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

[BUG?] Issue with merging from another branch after replacing subdirectory with submodule

2017-04-06 Thread Ben Nason
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

[GSoC][PATCH v1] Disallow git commands from within unpopulated submodules

2017-04-06 Thread Prathamesh Chavan
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.

[GSoC][PATCH v1] Disallow git commands from within unpopulated submodules

2017-04-06 Thread Prathamesh Chavan
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.