On Tue, Aug 9, 2016 at 3:50 PM, Stefan Beller <sbel...@google.com> wrote:
> On Tue, Aug 9, 2016 at 3:32 PM, Jacob Keller <jacob.e.kel...@intel.com> wrote:
>> From: Jacob Keller <jacob.kel...@gmail.com>
>>
>> For projects which have frequent updates to subm
From: Jacob Keller <jacob.kel...@gmail.com>
For projects which have frequent updates to submodules it is often
useful to be able to see a submodule update commit as a difference.
Teach diff's --submodule= a new "diff" format which will execute a diff
for the submodule between
From: Jacob Keller <jacob.kel...@gmail.com>
Teach git-completion.bash to complete --submodule= for git commands
which take diff options. Also teach completion for git-log to support
--diff-algorithms as well.
Signed-off-by: Jacob Keller <jacob.kel...@gmail.com>
---
contrib/co
On Mon, Aug 8, 2016 at 9:08 PM, Stefan Beller wrote:
>
> v3:
>
> Thanks to Junios critial questions regarding the design, I took a step back
> to look at the bigger picture.
>
> --super-reference sounds confusing. (what is the super referring to?)
> So drop that approach.
>
>
On Wed, Aug 3, 2016 at 3:36 PM, Michael Haggerty <mhag...@alum.mit.edu> wrote:
> On 08/04/2016 12:29 AM, Jacob Keller wrote:
>> On Wed, Aug 3, 2016 at 3:00 PM, Michael Haggerty <mhag...@alum.mit.edu>
>> wrote:
>> It seems odd to be that a line with "199"
On Wed, Aug 3, 2016 at 3:00 PM, Michael Haggerty wrote:
> +/*
> + * If a line is indented more than this, get_indent() just returns this
> value.
> + * This avoids having to do absurd amounts of work for data that are not
> + * human-readable text, and also ensures that the
On Mon, Jul 18, 2016 at 11:33 AM, Junio C Hamano wrote:
> Ehsan Azarnasab writes:
>
>> Currently if I have a branch checked out in a work-tree, git-checkout
>> will show this error message when checking out that branch:
>>
>> $ git checkout master
>>
On Fri, Jul 8, 2016 at 7:22 PM, Erik Johnson <paleh...@gmail.com> wrote:
> On Fri, Jul 08, 2016 at 05:41:17PM -0700, Jacob Keller wrote:
>> It is possible we should update "git branch -d" should perform a
>> worktree prune first, since that would enable it t
On Fri, Jul 8, 2016 at 3:19 PM, Junio C Hamano wrote:
> David Lightle writes:
>> In fact, I just noticed that GitLab has built in the functionality I'm
>> looking for even, which is what they call "Merge commit with
>> semi-linear history" but I'm asking
On Thu, Jul 7, 2016 at 5:36 PM, Erik Johnson wrote:
> I'm not expecting _any_ git branch command to prune worktrees, but a
> branch _deletion_ shouldn't fail because git thinks the branch is
> checked out in a worktree that doesn't exist anymore. Even in the
> scenario where
On Thu, Jul 7, 2016 at 11:44 AM, Erik Johnson wrote:
> % git branch -D archive-extracted-xz
> error: Cannot delete branch 'archive-extracted-xz' checked out at
> '/home/erik/git/salt/archive-extracted-xz'
> % test -d /home/erik/git/salt/archive-extracted-xz || echo "directory
On Wed, Jul 6, 2016 at 6:16 AM, Johannes Schindelin
wrote:
>> Johannes Schindelin venit, vidit, dixit 06.07.2016 09:01:
>> OTOH, I often have to look up the original message because people cut
>> too much, or because they take one sentence out of context.
>
> And
On Tue, Jul 5, 2016 at 1:44 PM, Jeff King wrote:
> On Tue, Jul 05, 2016 at 04:28:20PM -0400, Jeff King wrote:
>
>> I wonder if parse_options_concat should simply allocate a new list
>> (after computing the total required size). I guess this is the only
>> caller, though, so perhaps
On Wed, Jun 15, 2016 at 12:24 PM, Junio C Hamano wrote:
> Michael J Gruber writes:
>
>>> Or even
>>>
>>> if ((flags & GPG_VERIFY_BLOB) && (type != OBJ_BLOB))
>>> "you told me to check blob but didn't give me one";
>>> }
On Mon, Jun 13, 2016 at 11:17 PM, Jeff King <p...@peff.net> wrote:
> On Mon, Jun 13, 2016 at 11:14:36PM -0700, Jacob Keller wrote:
>
>> On Mon, Jun 13, 2016 at 4:58 PM, Jeff King <p...@peff.net> wrote:
>> > This was changed in 10a6cc8 (fetch --prune: Run prune
On Mon, Jun 13, 2016 at 4:58 PM, Jeff King wrote:
> This was changed in 10a6cc8 (fetch --prune: Run prune before
> fetching, 2014-01-02), but it seems that nobody in that
> discussion realized we were advertising the "after"
> explicitly.
>
> Signed-off-by: Jeff King
On Fri, Jun 10, 2016 at 9:25 AM, Stefan Beller wrote:
> On Fri, Jun 10, 2016 at 8:56 AM, Junio C Hamano wrote:
>> Jeff King writes:
>>
>>> On Fri, Jun 10, 2016 at 03:50:43AM -0400, Jeff King wrote:
>>>
I found a false positive with the
On Mon, Jun 6, 2016 at 11:55 AM, Junio C Hamano wrote:
> "brian m. carlson" writes:
>
>> An example semantic patch looks like this:
>>
>> @@
>> expression E1;
>> @@
>> - is_null_sha1(E1.hash)
>> + is_null_oid()
>>
>> @@
>> expression E1;
>> @@
>>
On Tue, May 10, 2016 at 1:11 PM, Junio C Hamano wrote:
> Yaroslav Halchenko writes:
>
>> On Fri, 06 May 2016, Yaroslav Halchenko wrote:
>>
>>> Dear Git Folks,
>>
>>> Originally this issue was mentioned in previous thread [1], and I have
>>> decided
>>> to
On Mon, May 2, 2016 at 11:02 AM, Jeff King wrote:
> On Mon, May 02, 2016 at 10:40:28AM -0700, Junio C Hamano wrote:
>
>> "Keller, Jacob E" writes:
>>
>> > True. I think the chances that it needs such a thing are quite minor,
>> > and if an undocumented
On Fri, Apr 29, 2016 at 1:29 PM, Junio C Hamano wrote:
> Jeff King writes:
>
>> ... Having the two directly next to each other reads
>> better to me. This is a pretty unusual diff, though, in that it did
>> change the surrounding whitespace (and if you look
On Thu, Apr 28, 2016 at 8:56 AM, Stefan Beller wrote:
> On Thu, Apr 28, 2016 at 7:02 AM, Johannes Schindelin
> wrote:
>> Hi Peff,
>>
>> On Thu, 28 Apr 2016, Jeff King wrote:
>>
>>> On Thu, Apr 28, 2016 at 08:17:53AM -0400, Jeff King wrote:
>>>
>>>
On Thu, Apr 28, 2016 at 8:36 AM, Jeff King <p...@peff.net> wrote:
> On Thu, Apr 28, 2016 at 08:28:29AM -0700, Jacob Keller wrote:
>
>> > diff --git a/git-submodule.sh b/git-submodule.sh
>> > index 2a84d7e..3a40d4b 100755
>> > --- a/git-submodule.sh
>> &
On Thu, Apr 28, 2016 at 6:49 AM, Jeff King wrote:
> On Thu, Apr 28, 2016 at 02:19:37PM +0200, Johannes Schindelin wrote:
>
>> > Should we consider just white-listing all of "http.*"?
>> >
>> > That would help other cases which have come up, like:
>> >
>> >
On Thu, Apr 28, 2016 at 6:37 AM, Jeff King wrote:
> Commit 14111fc (git: submodule honor -c credential.* from
> command line, 2016-02-29) taught git-submodule.sh to save
> the sanitized value of $GIT_CONFIG_PARAMETERS when clearing
> the environment for a submodule. However, it
On Thu, Apr 28, 2016 at 8:25 AM, Jeff King <p...@peff.net> wrote:
> On Thu, Apr 28, 2016 at 08:24:05AM -0700, Jacob Keller wrote:
>
>> On Thu, Apr 28, 2016 at 6:36 AM, Jeff King <p...@peff.net> wrote:
>> > Commit 14111fc (git: submodule honor -c credential.* f
On Thu, Apr 28, 2016 at 8:21 AM, Stefan Beller wrote:
> On Thu, Apr 28, 2016 at 6:37 AM, Jeff King wrote:
>> Right now we test only the cloning case, but there are other
>> interesting cases (e.g., fetching). Let's pull the setup
>> bits into their own test,
On Thu, Apr 28, 2016 at 6:36 AM, Jeff King wrote:
> Commit 14111fc (git: submodule honor -c credential.* from
> command line, 2016-02-29) accidentally wrote $HTTP_URL. It
> happened to work because we ended up with "credential..helper",
> which we treat the same as
On Wed, Apr 27, 2016 at 11:19 PM, Hagen Paul Pfeifer wrote:
> * Johannes Sixt | 2016-04-27 23:33:53 [+0200]:
>
> Hey Junio, hey Hannes,
>
>> git bisect start
>> git rev-list --first-parent --boundary origin..origin/pu |
>> sed -ne s/-//p | xargs git bisect good
>> git bisect bad
On Tue, Apr 26, 2016 at 4:19 PM, Stefan Beller <sbel...@google.com> wrote:
> On Tue, Apr 26, 2016 at 3:50 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
>> On Tue, Apr 26, 2016 at 1:50 PM, Stefan Beller <sbel...@google.com> wrote:
>>> When adding new submodu
On Tue, Apr 26, 2016 at 1:50 PM, Stefan Beller wrote:
> When adding new submodules, you can specify the
> label(s) the submodule belongs to by giving one or more
> --label arguments. This will record each label in the
> .gitmodules file as a value of the key
>
LFS runs a special command to download and replace all LFS
>> content in bulk [3]. This works great for LFS repositories.
>>
>> However, I noticed that git config command line instructions such as
>> "-c filter.lfs.smudge=" are not passed to Git submodule operations. Thu
On Sun, Apr 24, 2016 at 1:20 PM, Ævar Arnfjörð Bjarmason
wrote:
> Any ACL you implement via an 'update' hook isn't actual access control
> if the user has login access to the machine running git, because they
> can trivially just built their own git version which doesn't run the
On Thu, Apr 21, 2016 at 10:48 AM, Stefan Beller wrote:
> On Thu, Apr 21, 2016 at 10:45 AM, Junio C Hamano wrote:
>> Stefan Beller writes:
>>
>>> In case of non bare:
>>>
>>> Get the repo and all its submodules from the specified
On Tue, Apr 19, 2016 at 10:06 AM, Jeff King wrote:
> On Tue, Apr 19, 2016 at 08:17:38AM -0700, Stefan Beller wrote:
>
>> On Mon, Apr 18, 2016 at 10:03 PM, Jeff King wrote:
>>
>> > I guess this will invalidate old patch-ids, but there's not much to be
>> > done about
but I think the resulting
code is much easier to follow. The use of the continue allows us to
drop a layer of indentation making the remaining code a bit easier on
the eyes. The patch description doesn't at first glance match the code
change, since now it's a much larger chunk of moved c
rest
> of the context above.
>
> This heuristic appears to resolve the above example and several other
> common issues without producing significantly weird results. However, as
> with any heuristic it is not really known whether this will always be
> more optimal. Thus, it can b
On Sun, Apr 17, 2016 at 2:10 PM, Christoph Paulik wrote:
>
> Hi Git Mailinglist,
> git merge branch --no-commit does commit fast forward merges leaving users
> no way to change the merge results. The command only works as expected when
> also adding the --no-ff flag. Looking at
On Fri, Apr 15, 2016 at 5:49 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> +static int line_length(const char *recs)
>> +{
>> + char *s = strchr(recs, '\n');
>> + return s ? s - recs : strlen(recs);
>> +}
>
> It seems that you guys are
On Fri, Apr 15, 2016 at 4:05 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
> There's a few places that will need cleaning up (comments and such)
> that mention empty line still, but that's not surprising. I am going
> to test this for a bit on my local repos, and see
r name(?)
>
There's a few places that will need cleaning up (comments and such)
that mention empty line still, but that's not surprising. I am going
to test this for a bit on my local repos, and see if it makes any
difference to the old heuristic as well.
Thanks,
Jake
> Signed-off-by
From: Jacob Keller <jacob.kel...@gmail.com>
It is a common pattern in xdl_change_compact to check that hashes and
strings match. The resulting code to perform this change causes very
long lines and makes it hard to follow the intention. Introduce a helper
function recs_match which perform
* Add tests
* Add better/more documentation explaining the heuristic, possibly with
examples(?)
* better name(?)
Signed-off-by: Stefan Beller <sbel...@google.com>
Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
---
Documentation/diff-config.txt | 6 ++
Documentation/dif
From: Jacob Keller <jacob.kel...@gmail.com>
Third version of my series with a few more minor fixups. I left the
diff command line and configuration option alone for now, suspecting
that long term we either (a) remove it or (b) use a gitattribute, so
there is no reason to bikeshed the name
On Fri, Apr 15, 2016 at 3:46 PM, Jeff King <p...@peff.net> wrote:
> On Fri, Apr 15, 2016 at 02:56:21PM -0700, Jacob Keller wrote:
>
>> @@ -470,8 +477,9 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo,
>> long flags) {
>>* the line ne
On Fri, Apr 15, 2016 at 2:44 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Jacob Keller <jacob.kel...@gmail.com> writes:
>
>>>> What you have is a pure developer support; aim to come up with "good
>>>> enough" way, giving developers an easi
* Add tests
* Add better/more documentation explaining the heuristic, possibly with
examples(?)
* better name(?)
Signed-off-by: Stefan Beller <sbel...@google.com>
Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
---
Documentation/diff-config.txt | 6 ++
Documentation/dif
From: Jacob Keller <jacob.kel...@gmail.com>
Second version of my series with a few more minor fixups. I left the
diff command line and configuration option alone for now, suspecting
that long term we either (a) remove it or (b) use a gitattribute, so
there is no reason to bikeshed the name
From: Jacob Keller <jacob.kel...@gmail.com>
It is a common pattern in xdl_change_compact to check that hashes and
strings match. The resulting code to perform this change causes very
long lines and makes it hard to follow the intention. Introduce a helper
function recs_match which perform
On Fri, Apr 15, 2016 at 2:15 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
> On Fri, Apr 15, 2016 at 1:30 PM, Junio C Hamano <gits...@pobox.com> wrote:
>> Jacob Keller <jacob.kel...@gmail.com> writes:
>>
>>> On Fri, Apr 15, 2016 at 1:06 PM, Junio C Ha
On Fri, Apr 15, 2016 at 1:30 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Jacob Keller <jacob.kel...@gmail.com> writes:
>
>> On Fri, Apr 15, 2016 at 1:06 PM, Junio C Hamano <gits...@pobox.com> wrote:
>>
>>> I actually do not think these knobs sh
On Fri, Apr 15, 2016 at 1:06 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>>> +diff.emptyLineHeuristic::
>>
>> I was looking at the TODO here and thought about the name:
>> It should not encode the `emptyLine` into the config option as
>> it is only
On Fri, Apr 15, 2016 at 12:57 PM, Stefan Beller wrote:
> I was looking at the TODO here and thought about the name:
> It should not encode the `emptyLine` into the config option as
> it is only one of many heuristics.
>
> It should be something like
On Fri, Apr 15, 2016 at 10:25 AM, Junio C Hamano <gits...@pobox.com> wrote:
> Jacob Keller <jacob.e.kel...@intel.com> writes:
>
>> From: Jacob Keller <jacob.kel...@gmail.com>
>>
>> It is a common pattern in xdl_change_compact to check that hashes and
>&
On Fri, Apr 15, 2016 at 10:33 AM, Stefan Beller wrote:
> On Fri, Apr 15, 2016 at 10:27 AM, Junio C Hamano wrote:
>> Stefan Beller writes:
>>
>>> Actually we would only need to have the empty line count in the
>>> second loop as the
On Fri, Apr 15, 2016 at 10:10 AM, Stefan Beller wrote:
> On Fri, Apr 15, 2016 at 10:02 AM, Stefan Beller wrote:
>>> @@ -458,11 +458,11 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo,
>>> long flags) {
>>> * the group.
>>>
On Fri, Apr 15, 2016 at 10:02 AM, Stefan Beller <sbel...@google.com> wrote:
> On Fri, Apr 15, 2016 at 9:51 AM, Jacob Keller <jacob.e.kel...@intel.com>
> wrote:
>> From: Jacob Keller <jacob.kel...@gmail.com>
>>
>> I took up Stefan's patch, and modifie
From: Jacob Keller <jacob.kel...@gmail.com>
It is a common pattern in xdl_change_compact to check that hashes and
strings match. The resulting code to perform this change causes very
long lines and makes it hard to follow the intention. Introduce a helper
function xdl_hash_and_recmatch
* Add tests
* Add better/more documentation explaining the heuristic, possibly with
examples(?)
* better name(?)
Signed-off-by: Stefan Beller <sbel...@google.com>
Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
---
Documentation/diff-config.txt | 6 ++
Documentation/dif
From: Jacob Keller <jacob.kel...@gmail.com>
I took up Stefan's patch, and modified it to resolve a couple issues. I
also tried to implement the suggestions from Junio's review, as well as
the suggestions I had. It appears to produce equivalent output as Jeff's
script. This version is
On Thu, Apr 14, 2016 at 5:43 PM, Stefan Beller <sbel...@google.com> wrote:
> On Thu, Apr 14, 2016 at 5:26 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
>> On Thu, Apr 14, 2016 at 5:07 PM, Stefan Beller <sbel...@google.com> wrote:
>>> TODO(sbeller):
On Thu, Apr 14, 2016 at 5:07 PM, Stefan Beller wrote:
> TODO(sbeller):
> * describe the discussion on why this is better
> * see if this can be tested?
>
Thanks for taking time to do this! It looks like a few things are
still missing, CRLF obviously, and making it a
On Thu, Apr 14, 2016 at 2:05 PM, Stefan Beller wrote:
> On Thu, Apr 14, 2016 at 11:34 AM, Jeff King wrote:
>> On Thu, Apr 14, 2016 at 06:56:39AM -0700, Davide Libenzi wrote:
>>
>>> That was a zillions of years ago :) , but from a quick look at email
>>> thread,
On Tue, Apr 12, 2016 at 4:48 PM, Stefan Beller wrote:
> There are some inherent issues with shallow clones and submodules, such
> as having not having a commit available the superproject may point to
> in the submodule due to being shallow. Use the new file t5614 to document
>
On Fri, Apr 8, 2016 at 11:30 AM, Junio C Hamano <gits...@pobox.com> wrote:
> Jacob Keller <jacob.kel...@gmail.com> writes:
>
>> So if I want to get the summary of a patch out of a commit without the
>> actual diff what would you suggest?
>
> "git log --
On Mon, Apr 4, 2016 at 12:32 PM, Junio C Hamano wrote:
> Eric Sunshine writes:
>
>> Documentation/diff-options.txt | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
>> index
On Thu, Apr 7, 2016 at 2:30 PM, Eric Sunshine <sunsh...@sunshineco.com> wrote:
> On Thu, Apr 7, 2016 at 12:46 PM, Jacob Keller <jacob.e.kel...@intel.com>
> wrote:
>> The documentation for format-patch indicates that --no-patch wilL
>> suppress patch output. It als
as expected.
Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
---
Documentation/diff-options.txt | 2 ++
builtin/log.c | 4 ++--
t/t4014-format-patch.sh| 26 ++
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/Documen
On Thu, Mar 31, 2016 at 6:47 AM, Jeff King <p...@peff.net> wrote:
> On Wed, Mar 30, 2016 at 12:31:30PM -0700, Jacob Keller wrote:
>
>> So far I've only found a single location that ends up looking worse
>> within the Linux kernel. Diffs of some Kbuild settings res
Hi,
On Sat, Apr 2, 2016 at 5:25 PM, Benjamin Sandeen
wrote:
> Today, I managed to create a duplicate branch in a git repository. While
> this may not be a bug per se, I do think that it is confusing and some way
> of preventing such issues in the future
On Wed, Mar 30, 2016 at 5:17 PM, Stefan Beller wrote:
> The calling shell code makes sure that `path` is non null and non empty.
> (side note: it cannot be null as just three lines before it is passed
> to safe_create_leading_directories_const which would crash as you feed
>
On Wed, Mar 30, 2016 at 12:14 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
> I ran this on a few of my local projects and it doesn't seem to
> produce any false positives so far. Everything looks good. Of course
> this is with just traditional C code. I am currentl
On Tue, Mar 29, 2016 at 11:05 PM, Jacob Keller <jacob.kel...@gmail.com> wrote:
> On Tue, Mar 29, 2016 at 9:55 PM, Jeff King <p...@peff.net> wrote:
>> One thing I like to do when playing with new diff ideas is to pipe all
>> of "log -p" for a real projec
On Tue, Mar 29, 2016 at 9:55 PM, Jeff King wrote:
> One thing I like to do when playing with new diff ideas is to pipe all
> of "log -p" for a real project through it and see what differences it
> produces.
>
Great idea!
> Below is a perl script that implements Stefan's
On Tue, Mar 29, 2016 at 11:16 AM, Stefan Beller wrote:
> On Tue, Mar 29, 2016 at 10:54 AM, Junio C Hamano wrote:
>> Stefan Beller writes:
>>
>>> I thought this is an optimization for C code where you have a diff like:
>>>
>>> int
On Mon, Mar 28, 2016 at 4:28 PM, Stefan Beller wrote:
> cat > expect < +Entering '../nested1'
> +Entering '../nested1/nested2'
> +Entering '../nested1/nested2/nested3'
> +Entering '../nested1/nested2/nested3/submodule'
> +Entering '../sub1'
> +Entering '../sub2'
> +Entering
On Sat, Mar 26, 2016 at 8:12 AM, Matthieu Moy
<matthieu@grenoble-inp.fr> wrote:
> Jacob Keller <jacob.kel...@gmail.com> writes:
>
>> If possible, I would suggest aiming for generating the actual topology
>> that the user is seeing, customized so that it gives re
On Fri, Mar 25, 2016 at 10:38 AM, Junio C Hamano wrote:
> The above two examples make me wonder if these should be static
> text. "ggit rebase" and "ggit reset" have full information of the
> concrete branch names, commit object names and the actual topology
> of the history,
On Thu, Mar 24, 2016 at 3:55 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>>> If I were to explicitly ignore that file, then even though I know
>>> whats-cooking.txt is not ignored,
>>>
>>>$ git add whats-coo
>>>
>>> would not offer anything.
el...@google.com>
> ---
It is nice to see the format for doing this standardized, and reduce
extra code in the submodule--helper. I had wondered why we used
--prefix before.
Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com>
> builtin/submodule--helper.c | 5 +
> git-subm
s
> ) ||
> @@ -1240,6 +1242,7 @@ cmd_sync()
>
> if test -n "$recursive"
> then
> + wt_prefix=
And here I think I see why we moved the original prefix
rigin_url"
>
> if test -n "$recursive"
> then
> - prefix="$prefix$sm_path/"
> eval cmd_sync
> fi
> )
> --
> 2.8.0.rc4.10.g52f3f33
>
Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com>
Regards,
Jake
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Mar 22, 2016 at 2:43 PM, Jonathan Nieder wrote:
> Jeff King wrote[1]:
>
>> Subject: git_config_push_parameter: handle empty GIT_CONFIG_PARAMETERS
>>
>> The "git -c var=value" option stuffs the config value into
>> $GIT_CONFIG_PARAMETERS, so that sub-processes can see
On Tue, Mar 15, 2016 at 9:47 AM, Karthik Nayak wrote:
> Add support for %(objectname:short=) which would print the
> abbreviated unique objectname of given length. When no length is
> specified 7 is used. The minimum length is 'MINIMUM_ABBREV'.
>
Isn't the default
On Tue, Mar 15, 2016 at 9:47 AM, Karthik Nayak wrote:
> diff --git a/Documentation/git-for-each-ref.txt
> b/Documentation/git-for-each-ref.txt
> index 193e99e..578bbd1 100644
> --- a/Documentation/git-for-each-ref.txt
> +++ b/Documentation/git-for-each-ref.txt
> @@ -116,10
On Sun, Mar 13, 2016 at 10:25 PM, Sidhant Sharma wrote:
>
> On Monday 14 March 2016 02:49 AM, Kevin Daudt wrote:
>> On Mon, Mar 14, 2016 at 12:03:33AM +0530, Sidhant Sharma wrote:
>>> Other than this, I also tried to expand the list of potentially destructive
>>> commands
On Sun, Mar 13, 2016 at 10:25 PM, Sidhant Sharma <tigerkid...@gmail.com> wrote:
>
> On Monday 14 March 2016 04:58 AM, Jacob Keller wrote:
>> On Sun, Mar 13, 2016 at 11:33 AM, Sidhant Sharma <tigerkid...@gmail.com>
>> wrote:
>>> Coincidentally, my appr
On Sun, Mar 13, 2016 at 11:33 AM, Sidhant Sharma wrote:
> Coincidentally, my approach too is a wrapper around git as you suggest.
> The approach is simple and straight forward, but I wasn't sure if it would be
> accepted on the list, mainly because it may not look
On Sun, Mar 6, 2016 at 4:05 AM, Karthik Nayak wrote:
> Implement the '--format' option provided by 'ref-filter'.
> This lets the user list tags as per desired format similar
> to the implementation in 'git for-each-ref'.
>
s/tags/branches/ maybe?
Thanks,
Jake
--
To
On Mon, Mar 7, 2016 at 3:08 PM, Junio C Hamano wrote:
> Karthik Nayak writes:
>
>> The "%(symref)" atom doesn't work when used with the ':short' modifier
>> because we strictly match only 'symref' for setting the 'need_symref'
>> indicator. Fix this by
On Sun, Mar 6, 2016 at 4:04 AM, Karthik Nayak wrote:
> Borrowing from branch.c's implementation print "[gone]" whenever an
> unknown upstream ref is encountered instead of just ignoring it.
>
> This makes sure that when branch.c is ported over to using ref-filter
> APIs for
On Sat, Mar 5, 2016 at 5:44 PM, Ryne Everett wrote:
> I'm assuming fsck configurations are supposed to apply to clones but
> I'm having no luck:
>
> $ git --version
> git version 2.7.2
> $ git config --get transfer.fsckobjects
> true
> $ git config --get
On Tue, Mar 1, 2016 at 2:49 PM, Stefan Beller wrote:
> The wording is introduced in c3f0baaca (Documentation: sync git.txt
> command list and manual page title, 2007-01-18), but rebase has evolved
> since then, capture the modern usage by being more generic about the
> rebase
On Tue, Mar 1, 2016 at 11:07 AM, Junio C Hamano wrote:
>> I could call expect_askpass here at each time but I don't think it
>> would be meaningful after a test_must_fail.
>
> Even if you call expect_askpass to check, another set_askpass is
> expected to start the next cycle
On Tue, Mar 1, 2016 at 9:26 AM, Junio C Hamano wrote:
> I find this in t/lib-httpd.sh:
>
> set_askpass() {
> >"$TRASH_DIRECTORY/askpass-query" &&
> echo "$1" >"$TRASH_DIRECTORY/askpass-user" &&
> echo "$2"
On Mon, Feb 29, 2016 at 3:39 PM, Stefan Beller <sbel...@google.com> wrote:
> On Mon, Feb 29, 2016 at 2:58 PM, Jacob Keller <jacob.e.kel...@intel.com>
> wrote:
>>
>> +test_expect_success 'cmdline credential config passes into submodules' '
>> + git init
On Mon, Feb 29, 2016 at 3:20 PM, Stefan Beller wrote:
>
> I think this bug was put in, by "literally" translating from shell,
> see ee8838d15776, where the shell code was rewritten to C,
> specially:
>
> git clone $quiet ${depth:+"$depth"} -n ${reference:+"$reference"} \
>
From: Jacob Keller <jacob.kel...@gmail.com>
When --reference or --depth are unused, the current git-submodule.sh
results in empty "" arguments appended to the end of the argv array
inside git submodule--helper clone. This is not caught because the argc
count is not checked
From: Michael J Gruber
In contrast to apache 2.2, apache 2.4 does not load mod_unixd in its
default configuration (because there are choices). Thus, with the
current config, apache 2.4.10 will not be started and the httpd tests
will not run on distros with default
From: Jacob Keller <jacob.kel...@gmail.com>
git submodule--helper clone usage stated that paths were added after the
[--] argument. The actual implementation required use of --path argument
and only supports one path at a time. Update the usage string to match
the current implementation.
701 - 800 of 1094 matches
Mail list logo