On Fri, Dec 29, 2017 at 06:16:31PM -0500, Todd Zullinger wrote:
> Ævar Arnfjörð Bjarmason wrote:
> > No idea how to test this, in particular trying to pipe the output of
> > color.ui=never v.s. color.ui=auto to a file as "auto" will disable
> > coloring when it detects a pipe, but this fixes the
Ævar Arnfjörð Bjarmason wrote:
>> I think adding 'rm' to completion definitely counts as advertisement.
>> It doesn't have much practical use, after all: typing 'rm' with
>> completion is actually one more keystroke than without (rm vs. rm).
>
> This is only one use of the completion interface,
Whenever I type the last to complete origin/master, as in below:
> git branch --set-upstream-to=orig
what I get is:
> git branch origin/master
instead of the expected:
> git branch --set-upstream-to=origin/master
git version and OS:
>git version 2.1.4
>
>Distributor ID:Debian
On Fri, Dec 29 2017, SZEDER Gábor jotted:
>> Keith Smiley wrote:
>> > It looks like that was just about preferring remove in documentation
>> > and the like, I think it would still make sense to have both for
>> > completion since rm is still supported.
>>
>> I read it as a first step in a long
The goal of this fix isn't to complete rm itself (although that is a
side effect), it's to complete the remote names after you type rm.
Without this patch doing this:
git remote rm
Attempts to complete the options for `git remote` instead of the remote
names.
--
Keith Smiley
On 12/29,
Ævar Arnfjörð Bjarmason wrote:
> No idea how to test this, in particular trying to pipe the output of
> color.ui=never v.s. color.ui=auto to a file as "auto" will disable
> coloring when it detects a pipe, but this fixes the issue.
You might be able to use similar methods as those Jeff used
in
Ever since 5b594f457a ("Threaded grep", 2010-01-25) the number of
threads git-grep uses under PTHREADS has been hardcoded to 8, but
there's no performance test to check whether this is an optimal
setting.
Amend the existing tests for the grep engines to support a mode where
this can be tested,
Before git-bisect exits it calls `diff-tree --pretty --stat $commit`
on the bad commit. This would always print the "commit" line with
coloring despite color.ui being set to "never".
Teach diff-tree to look at the git_color_config() configuration. I
initially tried to add this to
> Keith Smiley wrote:
> > It looks like that was just about preferring remove in documentation
> > and the like, I think it would still make sense to have both for
> > completion since rm is still supported.
>
> I read it as a first step in a long process to eventually
> remove 'remote rm', but
On Fri, Dec 29 2017, zef...@fysh.org jotted:
> My ~/.gitconfig sets color.ui=never, which should prevent attempts
> at colouring output from all git commands. I do not have any git
> configuration enabling colour in any situation (such as for specific
> commands). But when a git bisect
On Fri, Dec 29, 2017 at 9:03 PM, SZEDER Gábor wrote:
Or print it in a different color? Maybe red?
See: https://travis-ci.org/szeder/git/jobs/322247836#L622-L625
>>>
>>> I considered using color for the first line, but then didn't do it,
>>> because I didn't
My ~/.gitconfig sets color.ui=never, which should prevent attempts
at colouring output from all git commands. I do not have any git
configuration enabling colour in any situation (such as for specific
commands). But when a git bisect completes, the output identifying
the first bad commit
On Thu, Dec 28, 2017 at 12:16 PM, Lars Schneider
wrote:
>
>> On 28 Dec 2017, at 00:00, SZEDER Gábor wrote:
>>
>> On Wed, Dec 27, 2017 at 8:15 PM, Lars Schneider
>> wrote:
>>>
On 27 Dec 2017, at 17:49, SZEDER Gábor
I probably need to look at convert.c more closer, some other comments inline.
On Fri, Dec 29, 2017 at 04:22:21PM +0100, lars.schnei...@autodesk.com wrote:
> From: Lars Schneider
>
> Git and its tools (e.g. git diff) expect all text files in UTF-8
> encoding. Git will
On Thu, 2017-12-28 at 20:30 -0800, Junio C Hamano wrote:
> * The way "git worktree add" determines what branch to create from
>where and checkout in the new worktree has been updated a bit.
Does this include the enhancements published a few weeks ago to allow
worktrees to be created directly
> On 29 Dec 2017, at 16:56, Torsten Bögershausen wrote:
>
> On Fri, Dec 29, 2017 at 04:22:18PM +0100, lars.schnei...@autodesk.com wrote:
>> From: Lars Schneider
>>
>> Create a copy of an existing string and make all characters upper case.
>> Similar
Updated:
e17dba8fe1 ("remote: prefer subcommand name 'remove' to
'rm'", 2012-09-06) removed the 'rm' subcommand from
completion. The 'remote rm' subcommand is still supported
and not planned to be removed. Offer completions for it.
Signed-off-by: Keith Smiley
---
On Fri, Dec 29, 2017 at 04:22:18PM +0100, lars.schnei...@autodesk.com wrote:
> From: Lars Schneider
>
> Create a copy of an existing string and make all characters upper case.
> Similar xstrdup_tolower().
>
> This function is used in a subsequent commit.
>
>
From: Lars Schneider
Create a copy of an existing string and make all characters upper case.
Similar xstrdup_tolower().
This function is used in a subsequent commit.
Signed-off-by: Lars Schneider
---
strbuf.c | 13 +
strbuf.h |
From: Lars Schneider
Whenever a data stream is declared to be UTF-16BE, UTF-16LE, UTF-32BE
or UTF-32LE a BOM must not be used [1]. The function returns true if
this is the case.
This function is used in a subsequent commit.
[1]
From: Lars Schneider
Add the GIT_TRACE_CHECKOUT_ENCODING environment variable to enable
tracing for content that is reencoded with the checkout-encoding
attribute.
Signed-off-by: Lars Schneider
---
convert.c| 28
From: Lars Schneider
Git and its tools (e.g. git diff) expect all text files in UTF-8
encoding. Git will happily accept content in all other encodings, too,
but it might not be able to process the text (e.g. viewing diffs or
changing line endings).
Add an attribute to
From: Lars Schneider
If the endianness is not defined in the encoding name, then let's
be strict and require a BOM to avoid any encoding confusion. The
has_missing_utf_bom() function returns true if a required BOM is
missing.
The Unicode standard instructs to assume
From: Lars Schneider
Hi,
notable changes since v1:
* In [1] Peff described a situation where you "couldn't checkout _away_
from" problems because of "die() in convert_to_git()". I fixed this and
tried to replicate the situation with the test "error if encoding
The ownership of files created by git-archive is always
root:root. Add --owner and --group options which work
like the GNU tar equivalent to allow overriding these
defaults.
Signed-off-by: suzuki toshiya
---
Documentation/git-archive.txt | 13 +++
archive-tar.c
2017-12-29 16:22 GMT+03:00 Jeff King :
> On Fri, Dec 29, 2017 at 01:05:50PM +0300, Оля Тележная wrote:
>
>> Hi everyone,
>> I am trying to reuse formatting logic from ref-filter in cat-file
>> command. Now cat-file uses its own formatting code.
>> I am trying to achieve that
Dear Junio, Ævar
Thank you very much for your reviews, in spite of my many
overlooking of the requirements written in the documents.
To classify various cases, I modified my patch heavily.
It would be posted soon.
I found that some Python scripts are included in the git
repository, but nothing
> On 29 Dec 2017, at 13:59, Torsten Bögershausen wrote:
>
> On 2017-12-28 17:14, Lars Schneider wrote:>
>>> On 17 Dec 2017, at 18:14, Torsten Bögershausen wrote:
>>>
>>> On Mon, Dec 11, 2017 at 04:50:23PM +0100, lars.schnei...@autodesk.com wrote:
From: Lars
Keith Smiley wrote:
> It looks like that was just about preferring remove in documentation
> and the like, I think it would still make sense to have both for
> completion since rm is still supported.
I read it as a first step in a long process to eventually
remove 'remote rm', but if that's never
From: Torsten Bögershausen
RFC patch: convert files from e.g. UTF-16 into UTF-8 while running
"git diff".
The diff must be called with "git diff --UTF-8" and the "encoding"
attribute must be set for the file(s).
The commit messages may need some improvements, and a closer look
at
From: Torsten Bögershausen
When blobs are encoded in UTF-16, `git diff` will treat them as binary.
Make it possible to show a user readable diff encoded in UTF-8.
This allows to run git diff and feed the into a web sever.
Improve Git to look at the "encodig" attribute and to
From: Torsten Bögershausen
When calling convert_to_git(), the checksafe parameter has been used to
check if commit would give a non-roundtrip conversion of EOL.
When checksafe was introduced, 3 values had been in use:
SAFE_CRLF_FALSE: no warning
SAFE_CRLF_FAIL: reject the commit
On Fri, Dec 29, 2017 at 01:05:50PM +0300, Оля Тележная wrote:
> Hi everyone,
> I am trying to reuse formatting logic from ref-filter in cat-file
> command. Now cat-file uses its own formatting code.
> I am trying to achieve that step-by-step, now I want to invoke
> populate_value function, and I
On 2017-12-28 17:14, Lars Schneider wrote:>
>> On 17 Dec 2017, at 18:14, Torsten Bögershausen wrote:
>>
>> On Mon, Dec 11, 2017 at 04:50:23PM +0100, lars.schnei...@autodesk.com wrote:
>>> From: Lars Schneider
>>>
>
>>> +`encoding`
>>> +^^
>>> +
Hi everyone,
I am trying to reuse formatting logic from ref-filter in cat-file
command. Now cat-file uses its own formatting code.
I am trying to achieve that step-by-step, now I want to invoke
populate_value function, and I have a bug somewhere.
My code is here.
git stash pop resulted in crash:
/usr/local/Cellar/git/2.10.2/libexec/git-core/git-stash: line 470:
14946 Segmentation fault: 11 git merge-recursive $b_tree -- $c_tree
$w_tree
although, the changes have been applied successfully.
36 matches
Mail list logo