> On 28 Oct 2017, at 18:40, Johannes Schindelin <johannes.schinde...@gmx.de>
> wrote:
>
> Hi Lars,
>
> On Fri, 27 Oct 2017, Lars Schneider wrote:
>
>>> On 27 Oct 2017, at 14:11, Lars Schneider <larsxschnei...@gmail.com> wrote:
>>>
> On 16 May 2018, at 11:29, Ævar Arnfjörð Bjarmason <ava...@gmail.com> wrote:
>
>
> On Wed, May 16 2018, Lars Schneider wrote:
>
>> I am looking into different options to cache Git repositories on build
>> machines. The two most promising ways seem to be git-w
Hi,
I am looking into different options to cache Git repositories on build
machines. The two most promising ways seem to be git-worktree [1] and
git-alternates [2].
I wonder if you see an advantage of one over the other?
My impression is that git-worktree supersedes git-alternates. Would
that
> On 04 Jun 2018, at 11:55, Jeff King wrote:
>
> On Mon, Jun 04, 2018 at 12:18:59PM -0400, Martin-Louis Bright wrote:
>
>> Why must the credentials must be deleted after receiving the 401 (or
>> any) error? What's the rationale for this?
>
> Because Git only tries a single credential per
From: Lars Schneider
If a Git HTTP server responds with 401 or 407, then Git tells the
credential helper to reject and delete the credentials. In general
this is good.
However, in certain automation environments it is not desired to remove
credentials automatically. This is in particular
> On 04 Jun 2018, at 06:53, Junio C Hamano wrote:
>
> A release candidate Git v2.18.0-rc1 is now available for testing
> at the usual places. It is comprised of 842 non-merge commits
> since v2.17.0, contributed by 65 people, 20 of which are new faces.
>
> ...
>
> * The new
> -----Lars Schneider wrote: -
> To: Jeff King
> From: Lars Schneider
> Date: 06/28/2018 18:21
> Cc: "brian m. carlson" , Steve Groeger
> , git@vger.kernel.org
> Subject: Re: Use of new .gitattributes working-tree-encoding attribute across
> different
> On 18 Oct 2017, at 05:21, Jeff King wrote:
>
> On Wed, Oct 18, 2017 at 11:34:31AM +0900, Junio C Hamano wrote:
>
>> -- >8 --
>> branch doc: sprinkle a few commas for readability
>>
>> The "--force" option can also be used when the named branch does not
>> yet exist, and the
> On 25 Oct 2017, at 19:13, Jonathan Nieder <jrnie...@gmail.com> wrote:
>
> Hi again,
>
> Lars Schneider wrote:
>>> On 24 Oct 2017, at 20:14, Jonathan Nieder <jrnie...@gmail.com> wrote:
>
>>> In any event, you also probably want to de
> On 26 Oct 2017, at 09:09, Johannes Sixt wrote:
>
> Am 25.10.2017 um 14:19 schrieb Johannes Schindelin:
>> I envy you for the blessing of such a clean C++ source that you do not
>> have any, say, Unix shell script in it. Try this, and weep:
>> $ printf 'echo
> On 21 Oct 2017, at 00:22, Johannes Schindelin
> wrote:
>
> Hi team,
>
> [cutting linux-kernel]
>
> On Fri, 20 Oct 2017, Junio C Hamano wrote:
>
>> A release candidate Git v2.15.0-rc2 is now available for testing
>> at the usual places.
>
> The Git for Windows
> On 27 Oct 2017, at 14:11, Lars Schneider <larsxschnei...@gmail.com> wrote:
>
>
>> On 21 Oct 2017, at 00:22, Johannes Schindelin <johannes.schinde...@gmx.de>
>> wrote:
>>
>> Hi team,
>>
>> [cutting linux-kernel]
>>
>> O
> On 27 Oct 2017, at 04:57, Junio C Hamano wrote:
>
> Junio C Hamano writes:
>
>> It is fine to leave the original code broken at this step while we
>> purely move the lines around, and hopefully this will be corrected
>> in a later step in the series (I
> On 29 Dec 2017, at 21:16, SZEDER Gábor wrote:
>
> 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
> On 29 Dec 2017, at 18:28, Torsten Bögershausen <tbo...@web.de> wrote:
>
> 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 Schne
> On 31 Dec 2017, at 11:12, SZEDER Gábor wrote:
>
> This is the second iteration of 'sg/travis-skip-identical-test',
> addressing the comments of Lars and Jonathan:
>
> - Colorize the "Tip of $TRAVIS_BRANCH is exactly at $TAG" message
>in the new patch 1/3.
>
> -
> On 31 Dec 2017, at 09:05, tbo...@web.de wrote:
>
> 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
> On 27 Dec 2017, at 17:36, SZEDER Gábor wrote:
>
> The 32 bit Linux build job compiles Git and runs the test suite in a
> Docker container, while the additional packages (apache2, git-svn,
> language-pack-is) are installed on the host, therefore don't have
> any effect
> On 27 Dec 2017, at 17:36, SZEDER Gábor wrote:
>
> The change in commit 4f2636667 (travis-ci: use 'set -x' in 'ci/*'
> scripts for extra tracing output, 2017-12-12) left a couple of rough
> edges:
>
> - 'ci/run-linux32-build.sh' is executed in a Docker container and
>
> On 27 Dec 2017, at 17:36, SZEDER Gábor wrote:
>
> This change follows suit of 6272ed319 (travis-ci: run previously
> failed tests first, then slowest to fastest, 2016-01-26), which did
> this for the Linux and OSX build jobs. Travis CI build jobs run the
> tests
> On 27 Dec 2017, at 17:36, SZEDER Gábor wrote:
>
> When a build job running the test suite fails, our
> 'ci/print-test-failures.sh' script scans all 't/test-results/*.exit'
> files to find failed tests and prints their verbose output. However,
> if a build job were to
> On 27 Dec 2017, at 17:49, SZEDER Gábor wrote:
>
> Travis CI dutifully builds and tests each new branch tip, even if its
> tree has previously been successfully built and tested. This happens
> often enough in contributors' workflows, when a work-in-progress
> branch is
> On 27 Dec 2017, at 17:49, SZEDER Gábor wrote:
>
> Travis CI dutifully builds and tests each new branch tip, even if its
> tree has previously been successfully built and tested. This happens
> often enough in contributors' workflows, when a work-in-progress
> branch is
From: Lars Schneider <larsxschnei...@gmail.com>
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
From: Lars Schneider <larsxschnei...@gmail.com>
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 t
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
convert.c
From: Lars Schneider <larsxschnei...@gmail.com>
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 att
From: Lars Schneider <larsxschnei...@gmail.com>
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] http://unicode.org/faq/utf_bo
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
strbuf.c | 13 +++
> On 29 Dec 2017, at 13:59, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On 2017-12-28 17:14, Lars Schneider wrote:>
>>> On 17 Dec 2017, at 18:14, Torsten Bögershausen <tbo...@web.de> wrote:
>>>
>>> On Mon, Dec 11, 2017 at 04:50:23PM +0100,
> On 29 Dec 2017, at 16:56, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On Fri, Dec 29, 2017 at 04:22:18PM +0100, lars.schnei...@autodesk.com wrote:
>> From: Lars Schneider <larsxschnei...@gmail.com>
>>
>> Create a copy of an existing string and mak
enum value SAFE_CRLF_FALSE.
>
> Turn the whole call chain to use an integer with single bits, which
> can be extended in the next commits:
> - The global configuration variable safe_crlf is now conv_flags_eol.
> - The parameter checksafe is renamed into conv_flags.
>
&
From: Lars Schneider <larsxschnei...@gmail.com>
Since 3733e69464 (use xmallocz to avoid size arithmetic, 2016-02-22) we
allocate the buffer for the lower case string with xmallocz(). This
already ensures a NUL at the end of the allocated buffer.
Remove the unnecessary assignment.
Sign
From: Lars Schneider <larsxschnei...@gmail.com>
Git recognizes files encoded with ASCII or one of its supersets (e.g.
UTF-8 or ISO-8859-1) as text files. All other encodings are usually
interpreted as binary and consequently built-in Git text processing
tools (e.g. 'git diff') as well as mo
From: Lars Schneider <larsxschnei...@gmail.com>
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] http://unicode.org/faq/utf_bo
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
strbuf.c | 12 ++
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
convert.c
From: Lars Schneider <larsxschnei...@gmail.com>
Hi,
Patches 1-5 and 6 are helper functions and preparation.
Patch 6 is the actual change.
I am still torn between "checkout-encoding" and "working-tree-encoding"
as attribute name. I am happy to hear arguments fo
E and KEEP_CRLF. Therefore,
an enum is not ideal. Let's use a integer bit pattern instead and rename
the parameter to conv_flags to make it more generically usable. This
allows us to extend the bit pattern in a subsequent commit.
Helped-By: Lars Schneider <larsxschnei...@gmail.com>
Signed-off-by:
From: Lars Schneider <larsxschnei...@gmail.com>
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
> On 06 Jan 2018, at 00:22, Junio C Hamano <gits...@pobox.com> wrote:
>
> Lars Schneider <larsxschnei...@gmail.com> writes:
>
>>> On 31 Dec 2017, at 09:05, tbo...@web.de wrote:
>>>
>>> From: Torsten Bögershausen <tbo...@web.de>
>&g
> On 08 Jan 2018, at 23:07, Junio C Hamano wrote:
>
> SZEDER Gábor writes:
>
>> The reason why Travis CI does it this way and why it's a better
>> approach than ours lies in how unsuccessful build jobs are
>> categorized. ...
>> ...
>> This makes it
> On 08 Jan 2018, at 22:28, Junio C Hamano wrote:
>
> lars.schnei...@autodesk.com writes:
>
>> diff --git a/sha1_file.c b/sha1_file.c
>> index afe4b90f6e..dcb02e9ffd 100644
>> --- a/sha1_file.c
>> +++ b/sha1_file.c
>> @@ -75,14 +75,14 @@ static struct cached_object
> On 04 Jan 2018, at 21:13, Thomas Gummerer <t.gumme...@gmail.com> wrote:
>
> On 12/18, Lars Schneider wrote:
>>
>>> On 17 Dec 2017, at 23:51, Thomas Gummerer <t.gumme...@gmail.com> wrote:
>>>
>>> Split index mode only has a few dedicated t
> On 14 Dec 2017, at 00:00, Junio C Hamano wrote:
>
> Here are the topics that have been cooking. Commits prefixed with
> '-' are only in 'pu' (proposed updates) while commits prefixed with
> '+' are in 'next'. The ones marked with '.' do not appear in any of
> the
> On 07 Jan 2018, at 10:38, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On Sat, Jan 06, 2018 at 01:48:01AM +0100, lars.schnei...@autodesk.com wrote:
>> From: Lars Schneider <larsxschnei...@gmail.com>
>>
>> Hi,
>>
>> Patches 1-5 and
> On 18 Jan 2018, at 23:40, SZEDER Gábor wrote:
>
> On Thu, Jan 18, 2018 at 10:40 PM, René Scharfe wrote:
>> Am 16.01.2018 um 18:11 schrieb SZEDER Gábor:
>>> Unfortunately, most of the changes coming from 'strbuf.cocci' don't
>>> make any sense, they appear
From: Lars Schneider <larsxschnei...@gmail.com>
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] http://unicode.org/faq/utf_bo
From: Lars Schneider <larsxschnei...@gmail.com>
Git recognizes files encoded with ASCII or one of its supersets (e.g.
UTF-8 or ISO-8859-1) as text files. All other encodings are usually
interpreted as binary and consequently built-in Git text processing
tools (e.g. 'git diff') as well as mo
From: Lars Schneider <larsxschnei...@gmail.com>
Hi,
Patches 1-4 and 6 are preparation and helper functions.
Patch 5 is the actual change.
This series depends on Torsten's "convert_to_git(): safe_crlf/checksafe
becomes int conv_flags" patch:
https://public-inbox.org/git/201801
From: Lars Schneider <larsxschnei...@gmail.com>
Since 3733e69464 (use xmallocz to avoid size arithmetic, 2016-02-22) we
allocate the buffer for the lower case string with xmallocz(). This
already ensures a NUL at the end of the allocated buffer.
Remove the unnecessary assignment.
Sign
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
strbuf.c | 12 ++
From: Lars Schneider <larsxschnei...@gmail.com>
Add the GIT_TRACE_CHECKOUT_ENCODING environment variable to enable
tracing for content that is reencoded with the 'working-tree-encoding'
attribute. This is useful to debug encoding issues.
Signed-off-by: Lars Schneider <larsxschnei...@
From: Lars Schneider <larsxschnei...@gmail.com>
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
> On 21 Jan 2018, at 15:22, Simon Ruderich wrote:
>
> On Sat, Jan 20, 2018 at 04:24:17PM +0100, lars.schnei...@autodesk.com wrote:
>> +static struct encoding *git_path_check_encoding(struct attr_check_item
>> *check)
>> +{
>> +const char *value = check->value;
>> +
From: Lars Schneider <larsxschnei...@gmail.com>
Hi Junio,
I overlooked a typo pointed out in Simon's review. Here is a new patch
for squashing. Sorry for the trouble!
@Eric: Thanks for spotting this!
Cheers,
Lars
convert.c| 8 ++--
t/t0028-workin
> On 22 Jan 2018, at 19:27, SZEDER Gábor wrote:
>
>
> On Thu, Jan 18, 2018 at 1:47 PM, Duy Nguyen wrote:
>> On Thu, Jan 18, 2018 at 6:36 PM, SZEDER Gábor wrote:
>>> This series, queued as 'nd/shared-index-fix', makes the 32 bit
> On 30 Jan 2018, at 15:40, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On Tue, Jan 30, 2018 at 12:23:47PM +0100, Lars Schneider wrote:
>>
>>> On 29 Jan 2018, at 21:19, tbo...@web.de wrote:
>>>
>>> From: Torsten Bögershausen <tbo..
> On 30 Jan 2018, at 21:05, Junio C Hamano wrote:
>
> tbo...@web.de writes:
>
>> +if ((conv_flags & CONV_WRITE_OBJECT) && !strcmp(enc->name,
>> "SHIFT-JIS")) {
>> +char *re_src;
>> +int re_src_len;
>
> I think it is a bad idea to
>
> (1) not
> On 30 Jan 2018, at 20:15, Junio C Hamano <gits...@pobox.com> wrote:
>
> tbo...@web.de writes:
>
>> From: Lars Schneider <larsxschnei...@gmail.com>
>>
>> If the endianness is not defined in the encoding name, then let's
>> be strict a
Hi Peff,
I would like to register to the contributor summit :-)
---
As I am writing you, I thought I could ask you a question:
"git verify-pack" tells me the "size-in-packfile" which is
kind of the "real" size of a file in a Git repo. Are you
aware of a way to get this number via the GitHub
> On 31 Jan 2018, at 18:28, Torsten Bögershausen wrote:
>
> []
>>> That is a good one.
>>> If you ever plan a re-roll (I don't at the moment) the *.proj extemsion
>>> make much more sense in Documentation/gitattributes that *.tx
>>> There no text files encoded in UTF-16 wich are
> On 30 Jan 2018, at 22:56, Junio C Hamano <gits...@pobox.com> wrote:
>
> Lars Schneider <larsxschnei...@gmail.com> writes:
>
>>> On 30 Jan 2018, at 21:05, Junio C Hamano <gits...@pobox.com> wrote:
>>>
>>> tbo...@web.de writes:
>>
> On 29 Jan 2018, at 21:19, tbo...@web.de wrote:
>
> From: Torsten Bögershausen
>
> UTF-16 encoded files are treated as "binary" by Git, and no CRLF
> conversion is done.
> When the UTF-16 encoded files are converted into UF-8 using the new
s/UF-8/UTF-8/
>
n your work and personal machine? Plus, what shell do you use and
what terminal application?
Thanks,
Lars
PS: Please don't top post on the git mailing list :-)
https://en.wikipedia.org/wiki/Posting_style
> Thanks!
>
> - Jason
>
>
>> On Feb 7, 2018, at 9:54 AM, Lars S
> On 06 Feb 2018, at 21:05, Stefan Beller wrote:
>
> On Tue, Feb 6, 2018 at 11:57 AM, Todd Zullinger wrote:
>> Hi Jason,
>>
>> Jason Racey wrote:
>>> After upgrading git from 2.16.0 to 2.16.1 (via Homebrew -
>>> I’m on macOS) I noticed that the “git branch”
> On 08 Feb 2018, at 17:19, Kevin Daudt <m...@ikke.info> wrote:
>
> On Thu, Feb 08, 2018 at 12:27:07PM +0100, Lars Schneider wrote:
>>
>>> On 08 Feb 2018, at 12:13, Lars Schneider <larsxschnei...@gmail.com> wrote:
>>>
>>>
>>
> On 07 Feb 2018, at 21:08, Jeff King <p...@peff.net> wrote:
>
> On Wed, Feb 07, 2018 at 06:54:23PM +0100, Lars Schneider wrote:
>
>>> Maybe the number of branches changed since then?
>>> As the pager only comes to life when the output fills
>>
> On 09 Feb 2018, at 20:28, Junio C Hamano <gits...@pobox.com> wrote:
>
> lars.schnei...@autodesk.com writes:
>
>> From: Lars Schneider <larsxschnei...@gmail.com>
>>
>> If the endianness is not defined in the encoding name, then let's
>> ...
&
tree is created from a sibling
> worktree (as opposed to the main worktree).
>
> Reported-by: Lars Schneider <larsxschnei...@gmail.com>
> Signed-off-by: Eric Sunshine <sunsh...@sunshineco.com>
> ---
> builtin/worktree.c | 11 ---
> t/t2025-worktree-add.sh |
> On 12 Feb 2018, at 04:15, Eric Sunshine wrote:
>
> Git commands which run hooks do so at the top level of the worktree in
> which the command itself was invoked. However, the 'git worktree'
> command may need to run hooks within some other directory. For
> instance,
> On 09 Feb 2018, at 21:09, Junio C Hamano wrote:
>
> Documentation has core.checkRoundtripEncoding while t0028 and a
> comment in convert.c capitalize it differently. I suspect that it
> would be more reader-friendly to update the documentation to match.
Agreed. I will
From: Lars Schneider <larsxschnei...@gmail.com>
In ade546be47 (worktree: invoke post-checkout hook (unless
--no-checkout), 2017-12-07) we taught Git to run the post-checkout hook
in worktrees. Unfortunately, the environment of the hook was not made
aware of the worktree. Consequently, a 'g
> On 10 Feb 2018, at 02:01, lars.schnei...@autodesk.com wrote:
>
> From: Lars Schneider <larsxschnei...@gmail.com>
>
> In ade546be47 (worktree: invoke post-checkout hook (unless
> --no-checkout), 2017-12-07) we taught Git to run the post-checkout hook
>
> On 10 Feb 2018, at 10:48, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On Fri, Feb 09, 2018 at 02:28:28PM +0100, lars.schnei...@autodesk.com wrote:
>> From: Lars Schneider <larsxschnei...@gmail.com>
>>
>> ...
>>
>> +Please note that u
From: Lars Schneider <larsxschnei...@gmail.com>
Since 3733e69464 (use xmallocz to avoid size arithmetic, 2016-02-22) we
allocate the buffer for the lower case string with xmallocz(). This
already ensures a NUL at the end of the allocated buffer.
Remove the unnecessary assignment.
Sign
From: Lars Schneider <larsxschnei...@gmail.com>
Add the GIT_TRACE_WORKING_TREE_ENCODING environment variable to enable
tracing for content that is reencoded with the 'working-tree-encoding'
attribute. This is useful to debug encoding issues.
Signed-off-by: Lars Schneider <la
From: Lars Schneider <larsxschnei...@gmail.com>
Hi,
Patches 1-4, 6 are preparation and helper functions.
Patch 5,7 are the actual change.
This series depends on Torsten's 8462ff43e4 (convert_to_git():
safe_crlf/checksafe becomes int conv_flags, 2018-01-13) which is already
in next.
C
From: Lars Schneider <larsxschnei...@gmail.com>
UTF supports lossless conversion round tripping and conversions between
UTF and other encodings are mostly round trip safe as Unicode aims to be
a superset of all other character encodings. However, certain encodings
(e.g. SHIFT-JIS) are
From: Lars Schneider <larsxschnei...@gmail.com>
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
is_missing_required_utf_bom() function returns true if a required BOM
is missing.
The Unicode standard ins
From: Lars Schneider <larsxschnei...@gmail.com>
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] http://unicode.org/faq/utf_bo
From: Lars Schneider <larsxschnei...@gmail.com>
Git recognizes files encoded with ASCII or one of its supersets (e.g.
UTF-8 or ISO-8859-1) as text files. All other encodings are usually
interpreted as binary and consequently built-in Git text processing
tools (e.g. 'git diff') as well as mo
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
strbuf.c | 12 ++
> On 06 Feb 2018, at 09:42, Jeff King wrote:
>
> I set NO_GETTEXT=1 in my config.mak, and happened to notice that running
> the tests with GETTEXT_POISON fails. I think this has been broken for
> years, but I don't generally play with GETTEXT_POISON. ;)
On Travis we run
> On 08 Feb 2018, at 09:50, Jeff King <p...@peff.net> wrote:
>
> On Wed, Feb 07, 2018 at 11:20:08PM +0100, Lars Schneider wrote:
>
>>> 1. You have $LESS in your environment (without "F") on one platform
>>>but not the other.
>>
>&
> On 08 Feb 2018, at 12:13, Lars Schneider <larsxschnei...@gmail.com> wrote:
>
>
>> On 08 Feb 2018, at 09:50, Jeff King <p...@peff.net> wrote:
>>
>> On Wed, Feb 07, 2018 at 11:20:08PM +0100, Lars Schneider wrote:
>>
>>>> 1. You hav
> On 16 Feb 2018, at 17:58, Torsten Bögershausen <tbo...@web.de> wrote:
>
> On Fri, Feb 16, 2018 at 03:42:35PM +0100, Lars Schneider wrote:
> []
>>
>> Agreed. However, people using ShiftJIS are not my target audience.
>> My target audience are:
>>
&g
> On 23 Feb 2018, at 21:11, Junio C Hamano <gits...@pobox.com> wrote:
>
> Junio C Hamano <gits...@pobox.com> writes:
>
>> Lars Schneider <larsxschnei...@gmail.com> writes:
>>
>>> I still think it would be nice to see diffs for arb
From: Lars Schneider <larsxschnei...@gmail.com>
Hi,
Patches 1-4, 6 are preparation and helper functions.
Patch 5,7 are the actual change.
This series depends on Torsten's 8462ff43e4 (convert_to_git():
safe_crlf/checksafe becomes int conv_flags, 2018-01-13) which is
already in master.
C
From: Lars Schneider <larsxschnei...@gmail.com>
Since 3733e69464 (use xmallocz to avoid size arithmetic, 2016-02-22) we
allocate the buffer for the lower case string with xmallocz(). This
already ensures a NUL at the end of the allocated buffer.
Remove the unnecessary assignment.
Sign
From: Lars Schneider <larsxschnei...@gmail.com>
Add the GIT_TRACE_WORKING_TREE_ENCODING environment variable to enable
tracing for content that is reencoded with the 'working-tree-encoding'
attribute. This is useful to debug encoding issues.
Signed-off-by: Lars Schneider <la
From: Lars Schneider <larsxschnei...@gmail.com>
Git recognizes files encoded with ASCII or one of its supersets (e.g.
UTF-8 or ISO-8859-1) as text files. All other encodings are usually
interpreted as binary and consequently built-in Git text processing
tools (e.g. 'git diff') as well as mo
From: Lars Schneider <larsxschnei...@gmail.com>
UTF supports lossless conversion round tripping and conversions between
UTF and other encodings are mostly round trip safe as Unicode aims to be
a superset of all other character encodings. However, certain encodings
(e.g. SHIFT-JIS) are
From: Lars Schneider <larsxschnei...@gmail.com>
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] http://unicode.org/faq/utf_bo
From: Lars Schneider <larsxschnei...@gmail.com>
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
is_missing_required_utf_bom() function returns true if a required BOM
is missing.
The Unicode standard ins
From: Lars Schneider <larsxschnei...@gmail.com>
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 <larsxschnei...@gmail.com>
---
strbuf.c | 12 ++
when the new worktree is created from
> a sibling worktree (as opposed to the main worktree); (2) verify that
> the hook is provided with correct context when the new worktree is
> created from a bare repository (test provided by Lars Schneider).
Thanks! This patch works great and fixes t
> On 15 Feb 2018, at 21:03, Junio C Hamano wrote:
>
> lars.schnei...@autodesk.com writes:
>
>> -- Git clients that do not support the `working-tree-encoding` attribute
>> - will checkout the respective files UTF-8 encoded and not in the
>> - expected encoding.
From: Lars Schneider <larsxschnei...@gmail.com>
UTF supports lossless conversion round tripping and conversions between
UTF and other encodings are mostly round trip safe as Unicode aims to be
a superset of all other character encodings. However, certain encodings
(e.g. SHIFT-JIS) are
From: Lars Schneider <larsxschnei...@gmail.com>
Git recognizes files encoded with ASCII or one of its supersets (e.g.
UTF-8 or ISO-8859-1) as text files. All other encodings are usually
interpreted as binary and consequently built-in Git text processing
tools (e.g. 'git diff') as well as mo
801 - 900 of 1027 matches
Mail list logo