he distant future. I'll reroll with the change you
suggested. I might drop in another patch to improve the existing tests
to cover the case without this option, as I think we just look for
"From " currently.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | ht
and
tarballs. I can't personally vouch for the human behind the signatures,
but when building git from tarballs, I do check that the same key signed
them.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: PGP signature
reroll with the other suggested changes and a slight tweak to make
the tests less dependent on the history in both cases.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A99
to avoid this diff noise.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
Documentation/git-format-patch.txt | 4
builtin/log.c | 5 +
log-tree.c | 3 ++-
revision.h | 1 +
t/t4014-format-pa
* Improve the tests to be more idiomatic and avoid hard-coding line
counts.
brian m. carlson (3):
Introduce a null_oid constant.
format-patch: add an option to suppress commit hash
format-patch: check that header line has expected format
Documentation/git-format-patch.txt | 4
bui
null_oid is the struct object_id equivalent to null_sha1.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h | 1 +
sha1_file.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/cache.h b/cache.h
index 5ab6cb50..c63fcc11 100644
--- a/cache.h
+++ b/c
The format of the "From " header line is very specific to allow
utilities to detect Git-style patches. Add a test that the patches
created are in the expected format.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
t/t4014-format-patch.sh | 7 +++
1
null_oid is the struct object_id equivalent to null_sha1.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h | 1 +
sha1_file.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/cache.h b/cache.h
index 5ab6cb50..c63fcc11 100644
--- a/cache.h
+++ b/c
:
* Rename the option --zero-commit.
* Improve the tests to look for a 40-hex hash value in "From " header.
brian m. carlson (3):
Introduce a null_oid constant.
format-patch: add an option to suppress commit hash
format-patch: check that header line has expected format
Docu
The format of the "From " header line is very specific to allow
utilities to detect Git-style patches. Add a test that the patches
created are in the expected format.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
t/t4014-format-patch.sh | 6 ++
1
to avoid this diff noise.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
Documentation/git-format-patch.txt | 4
builtin/log.c | 5 +
log-tree.c | 3 ++-
revision.h | 1 +
t/t4014-format-pa
the other, it will be preserved in the merge.
So in your case, you deleted a.txt on one side and did not modify it on
the other. Git applied that change to the result of the merge. Git has
no way of knowing that a.txt is still required in the result.
This is a very common question that comes up
at the merge didn't go the way you wanted, you can either
add a follow-up commit, or you can do "git commit --amend" on the merge
after making the necessary changes. In such a case, it may be useful to
add a note to the commit message stating that you modified it from the
original merge
tion glob in the --matches help text
> describe: add --pcre-match option
If you're going to implement this, I'd recommend an option that adjusts
--matches to accept a PCRE regexp instead of adding a new option
accepting its own pattern. I'd also recommend calling it --perl-regexp
for compatibil
On Sat, Nov 28, 2015 at 11:35:43AM -0500, Jeff King wrote:
> On Sat, Nov 28, 2015 at 03:40:10PM +0000, brian m. carlson wrote:
>
> > On Tue, Nov 24, 2015 at 08:07:23PM -0500, Jeff King wrote:
> > > What's cooking in git.git (N
a reroll?
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: PGP signature
On Fri, Nov 20, 2015 at 06:38:30AM -0500, Jeff King wrote:
> On Tue, Nov 10, 2015 at 02:22:27AM +0000, brian m. carlson wrote:
>
> > diff --git a/patch-ids.c b/patch-ids.c
> > index bf81b923..83229a0d 100644
> > --- a/patch-ids.c
> > +++ b/patch-ids.c
&g
ill accept
responsibility for the content of the patches.
If there's interest, I can send a patch with a set of basic object_id
transforms to make it easier for others to make those changes when
they're doing work elsewhere in the codebase.
[0] http://coccinelle.lip6.fr/
--
brian m. carlson / br
On Mon, Jun 06, 2016 at 07:28:28PM -0700, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> > Coccinelle (http://coccinelle.lip6.fr/) is a program which performs
> > mechanical transformations on C programs using semantic pa
gt; +pair->one->oid_valid = !is_null_oid(>parent[i].oid);
> >>
> >> Is this transformation correct?
> >
> > Or the oidcpy() above it, which was introduced in patch 3.
>
> Indeed these look wrong.
Yes, those do look wrong. I'll figure o
might have done incidentally as part of the patch, but
could defensibly be done in a second patch anyway.
My goal is to make the series as much like a human-edited series as
possible, but with less work on all sides.
I can send an RFC series that demonstrates this a little later to see if
it's an a
ed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 39 ---
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/merge-recursive.c b/merge-recursive.c
index a07050cd..bc455491 100644
--- a/merge-recursive.c
struct stage_data o;
expression E1;
@@
- o.stages[E1].sha
+ o.stages[E1].oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 38 ++
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/merge-recursi
Convert all but two of the static functions in this file to use struct
object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 236 +++---
1 file changed, 118 insertions(+), 118 deletions(-)
diff
are of course
welcomed.
The testsuite continues to pass at each step.
brian m. carlson (8):
Add basic Coccinelle transforms.
Apply standard object_id Coccinelle transformations.
Convert struct diff_filespec to struct object_id
Rename struct diff_filespec's sha1_valid member.
merge
;
@@
- p->sha1_valid
+ p->oid_valid
@@
struct diff_filespec o;
@@
- o.sha1_valid
+ o.oid_valid
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
combine-diff.c| 4 ++--
diff.c| 28 ++--
diffcore-break.c | 2 +-
diffcor
diff_filespec o;
@@
- o.sha1
+ o.oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/blame.c | 6 +--
builtin/fast-export.c | 10 ++---
builtin/reset.c | 4 +-
combine-diff.c| 10 ++---
diff.c| 69 +---
Apply the standard set of semantic patches to convert some leftover
places using struct object_id's hash member to instead use the wrapper
functions that take struct object_id natively.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
bisect.c | 2 +-
b
to the struct object_id transformation.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
I realize the name and location of this file might be suboptimal.
Suggestions on better locations and filenames would be appreciated.
standard.cocc
Convert this function and the git merge-recursive subcommand to use
struct object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/merge-recursive.c | 20 ++--
merge-recursive.c | 14 +++---
merge-recursive.h | 6 +++
On Tue, Jun 21, 2016 at 02:22:50PM -0700, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> > This series is part 4 in a series of conversions to replace instances of
> > unsigned char [20] with struct object_id. Most of
truct assignment was
less desirable.
Also, if we do struct assignment, if we add a new hash, we may copy more
than necessary (e.g. 64 bytes when we're only using SHA-1); however,
this may be offset by the ability of the compiler to compute the offset
at compile time.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature
Convert this function and the git merge-recursive subcommand to use
struct object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/merge-recursive.c | 20 ++--
merge-recursive.c | 14 +++---
merge-recursive.h | 6 +++
to the struct object_id transformation, as well as a README.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
contrib/examples/coccinelle/README | 2 +
contrib/examples/coccinelle/object_id.cocci | 83 +
2 files changed, 85 inse
Convert all but two of the static functions in this file to use struct
object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 236 +++---
1 file changed, 118 insertions(+), 118 deletions(-)
diff
ilespec *p;
@@
- p->sha1
+ p->oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/blame.c | 6 +--
builtin/fast-export.c | 10 ++---
builtin/reset.c | 4 +-
combine-diff.c| 10 ++---
diff.c| 69 +---
o;
@@
- o.sha1_valid
+ o.oid_valid
@@
struct diff_filespec *p;
@@
- p->sha1_valid
+ p->oid_valid
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
combine-diff.c| 4 ++--
diff.c| 28 ++--
diffcore-break.c | 2 +-
diffcor
stage_data *p;
expression E1;
@@
- p->stages[E1].sha
+ p->stages[E1].oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 38 ++
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/merge-recursi
plain structs before
pointers to structs to avoid misconversions. This addresses the issue
that Peff caught originally.
brian m. carlson (8):
Add basic Coccinelle transforms.
Apply object_id Coccinelle transformations.
Convert struct diff_filespec to struct object_id
Rename struct
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
merge-recursive.c | 39 ---
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/merge-recursive.c b/merge-recursive.c
index a07050cd..bc455491 100644
--- a/merge-recursive.c
Apply the set of semantic patches from contrib/examples/coccinelle to
convert some leftover places using struct object_id's hash member to
instead use the wrapper functions that take struct object_id natively.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
bi
On Tue, Jun 21, 2016 at 03:22:04PM -0700, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> I was trying to make sure there is no misconversion, but some lines
> that got wrapped were distracting. For example:
>
>
the two first conditions are fulfilled, is there anything I could
> do to help this transition? (including helping Brian if his work hasn't
> actually ended yet)
You're welcome to send patches if you like. I try to avoid areas I know
are under heavy development, like the refs code.
--
brian m. carlson /
All of the callers of this function use struct object_id, so convert it
to use struct object_id in its arguments and internally.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
diff.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/diff.c b/
Convert all but two of the static functions in this file to use struct
object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
merge-recursive.c | 236 +++---
1
stage_data *p;
expression E1;
@@
- p->stages[E1].sha
+ p->stages[E1].oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
merge-recursive.c | 38 ++
1 file changed, 18
ilespec *p;
@@
- p->sha1
+ p->oid.hash
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
builtin/blame.c | 6 +--
builtin/fast-export.c | 10 ++---
builtin/reset.c | 4 +-
combine-diff.
Convert this function and the git merge-recursive subcommand to use
struct object_id.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
builtin/merge-recursive.c | 20 ++--
merge-recursive.c
.
* Add a README to that folder explaining what they are.
* Adjust the Coccinelle patches to transform plain structs before
pointers to structs to avoid misconversions. This addresses the issue
that Johannes Sixt caught originally.
brian m. carlson (11):
hex: add oid_to_hex_r.
contrib
semantic patch:
@@
expression E1;
@@
-hashcpy(E1, null_sha1);
+hashclr(E1);
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/merge.c | 2 +-
builtin/unpack-objects.c | 4 ++--
diff.c | 2 +-
submodule-co
This function works just like sha1_to_hex_r, except that it takes a
pointer to struct object_id instead of a pointer to unsigned char.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h | 1 +
hex.c | 5 +
2 files changed, 6 insertions(+)
diff --git a/cac
Apply the set of semantic patches from contrib/coccinelle to convert
some leftover places using struct object_id's hash member to instead
use the wrapper functions that take struct object_id natively.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C
o;
@@
- o.sha1_valid
+ o.oid_valid
@@
struct diff_filespec *p;
@@
- p->sha1_valid
+ p->oid_valid
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
combine-diff.c| 4 ++--
diff.c| 28 ++
to the struct object_id transformation, as well as a README.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
contrib/coccinelle/README | 2 +
contrib/coccinelle/object_i
On Fri, Jun 24, 2016 at 05:29:18PM -0700, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
>
> > @@
> > struct diff_filespec o;
> > @@
> > - o.sha1_valid
> > + o.oid_valid
> >
> > @@
> &g
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gits...@pobox.com>
---
merge-recursive.c | 39 ---
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/merge-recursive.c b/merge-recursive.c
index
git remote add origin https://git.crustytoothpaste.net/git/bmc/homedir.git
git pull origin master
I'm not sure if that's the officially sanctioned way to do it, but it
does work reliably.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpas
c auth as a fallback. I don't
normally use that on my servers, so I'd have to enable it and try it
out.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994
will not have to
> interact with the prompt at all, right?
Yes, that's true. I'll try to come up with a patch this weekend that
implements that (maybe remote.forceAuth = true or somesuch).
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpa
ibcurl just needs something to tell
it to do authentication.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: PGP signature
P client code to stop trying authentication mechanisms that
> don't use a password (currently Negotiate) after the first
> failure, since if they failed the first time, they will never
> succeed.
I think what's happening here is no username is ever provided, so
libcurl neve
out.
[0] Debian amd64/sid, ThinkPad X220.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: PGP signature
ammar at some
point, which should hopefully make things a bit less insane.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: PGP signature
Performing GSS-Negotiate authentication using Kerberos does not require
specifying a username or password, since that information is already
included in the ticket itself. However, libcurl refuses to perform
authentication if it has not been provided with a username and password.
Add an option,
On Mon, Feb 15, 2016 at 03:19:25PM -0500, Eric Sunshine wrote:
> On Mon, Feb 15, 2016 at 1:44 PM, brian m. carlson
> <sand...@crustytoothpaste.net> wrote:
> > Performing GSS-Negotiate authentication using Kerberos does not require
> > specifying a username or password
On Mon, Feb 15, 2016 at 03:34:51PM -0500, Jeff King wrote:
> On Mon, Feb 15, 2016 at 08:29:37PM +0000, brian m. carlson wrote:
> > That would work. I was concerned about the credential_fill call
> > actually prompting the user, but it appears that it doesn't do that if
> >
On Mon, Feb 15, 2016 at 01:39:30PM -0800, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> > On Mon, Feb 15, 2016 at 03:34:51PM -0500, Jeff King wrote:
> > ...
> >> So I think this hack should remain pur
On Mon, Feb 15, 2016 at 04:46:43PM -0500, Eric Sunshine wrote:
> On Mon, Feb 15, 2016 at 4:39 PM, Junio C Hamano <gits...@pobox.com> wrote:
> > "brian m. carlson" <sand...@crustytoothpaste.net> writes:
> >> On Mon, Feb 15, 2016 at 03:34:51PM -0500, Jef
very helpful because now we have to have our own version of patched
> Git :(
I sent in a patch (and I believe I CC'd you) that adds an option
http.emptyAuth that can be used in this case. It should make its way to
a future release.
--
brian m. carlson / brian with sandals: Houston
On Sat, Mar 05, 2016 at 11:31:53AM -0800, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> > If I run git apply --no-index --verbose , it succeeds in both
> > cases, but when I'm in the git repository, it *silently does noth
a difference. I'm using Git 2.7.2.
Is there a way to tell git apply that it should apply relative to the
current working directory, no matter what? I'm happy to send a patch to
either the documentation or git apply if necessary.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1
cleanly and is not likely to conflict with
other topics in flight. My intention is to send smaller series more
frequently, with the goal of avoiding or minimizing conflicts where
possible.
Changes from v1:
* Remove dereference of object_id pointer in boolean context.
brian m. carlson (6):
Introduce
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/grep.c | 6 +++---
builtin/merge-tree.c | 18 +-
builtin/pack-objects.c | 4 ++--
builtin/reflog.c | 4 ++--
cache-tree.c | 4 ++--
fsck.c | 4 ++--
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
fsck.c| 6 +++---
match-trees.c | 12 ++--
tree-diff.c | 2 +-
tree-walk.c | 10 +-
tree-walk.h | 4 ++--
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/fsck.c b/fsck.c
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
test-match-trees.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/test-match-trees.c b/test-match-trees.c
index 4dad7095..41aff841 100644
--- a/test-match-trees.c
+++ b/test-match-t
The get_oid function is equivalent to the get_sha1 function, but uses a
struct object_id instead.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h | 2 ++
sha1_name.c | 9 +
2 files changed, 11 insertions(+)
diff --git a/cache.h b/cache.h
index 27
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h| 4 ++--
match-trees.c | 44 ++--
merge-recursive.c | 4 ++--
test-match-trees.c | 2 +-
4 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/c
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
match-trees.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/match-trees.c b/match-trees.c
index 8ca7c68f..396b7338 100644
--- a/match-trees.c
+++ b/match-trees.c
@@
nts,
GIT_SHA1_RAWSZ and GIT_SHA1_HEXSZ, that abstract the 20 and 40 values in
the codebase so they can be changed in the future.
While this is a project I've been mostly working on, I have no objection
to other people sending in a patch or series as they feel like it.
--
brian m. carlson / brian wit
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
test-match-trees.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/test-match-trees.c b/test-match-trees.c
index 4dad7095..41aff841 100644
--- a/test-match-trees.c
+++ b/test-match-t
pass an empty entry to
a function which might dereference it.
This series rebases onto next cleanly and is not likely to conflict with
other topics in flight. My intention is to send smaller series more
frequently, with the goal of avoiding or minimizing conflicts where
possible.
brian m. carlson
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
builtin/grep.c | 6 +++---
builtin/merge-tree.c | 18 +-
builtin/pack-objects.c | 4 ++--
builtin/reflog.c | 4 ++--
cache-tree.c | 4 ++--
fsck.c | 4 ++--
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h| 4 ++--
match-trees.c | 44 ++--
merge-recursive.c | 4 ++--
test-match-trees.c | 2 +-
4 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/c
e why it didn't in the original case. But this means the whole thing
> is happening over a single TCP session, which is good (and I didn't have
> to change my config at all).
This looks fine from my point of view. GSS-Negotiate and Digest are
going to require at least one round-trip because they n
The get_oid function is equivalent to the get_sha1 function, but uses a
struct object_id instead.
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
cache.h | 2 ++
sha1_name.c | 9 +
2 files changed, 11 insertions(+)
diff --git a/cache.h b/cache.h
index 27
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
match-trees.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/match-trees.c b/match-trees.c
index 8ca7c68f..396b7338 100644
--- a/match-trees.c
+++ b/match-trees.c
@@
Signed-off-by: brian m. carlson <sand...@crustytoothpaste.net>
---
fsck.c| 6 +++---
match-trees.c | 12 ++--
tree-diff.c | 2 +-
tree-walk.c | 10 +-
tree-walk.h | 4 ++--
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/fsck.c b/fsck.c
On Tue, Apr 19, 2016 at 04:02:22PM -0700, Junio C Hamano wrote:
> "brian m. carlson" <sand...@crustytoothpaste.net> writes:
>
> > @@ -314,7 +314,7 @@ static int threeway_callback(int n, unsigned long mask,
> > unsigned long dirmask, s
> > }
>
DITOR set to "gvim -f" on occasion and seeing how tools sometimes
handle that poorly.
Even without that, I think this series is probably an improvement over
the status quo.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature
On Mon, Aug 01, 2016 at 10:57:02AM +0200, Jakub Narębski wrote:
> W dniu 01.08.2016 o 09:00, Eric Wong pisze:
> > "brian m. carlson" <sand...@crustytoothpaste.net> wrote:
> >> So it looks like this function splits on spaces but doesn't provide any
> >
write which is "command -v", which may or may not be
more portable. It does have the desired output, though.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature
; issues of the SHA-1 algorithm. We would need to teach Git to pick that
> mapping up if available and use it, of course.
I think that might be easier. Considering the number of tests that
hard-code object names, I might need that for the testsuite.
--
brian m. carlson / brian with sandals:
On Sun, Jul 17, 2016 at 05:19:02PM +0200, Duy Nguyen wrote:
> On Sun, Jul 17, 2016 at 4:21 PM, brian m. carlson
> <sand...@crustytoothpaste.net> wrote:
> > On Sun, Jul 17, 2016 at 10:01:38AM +0200, Johannes Schindelin wrote:
> >> Out of curiosity: have you considered som
On Sun, Jul 17, 2016 at 12:23:49PM -0400, Theodore Ts'o wrote:
> On Sun, Jul 17, 2016 at 03:42:34PM +0000, brian m. carlson wrote:
> > As I said, I'm not planning on multiple hash support at first, but it
> > doesn't appear impossible if we go this route. We might still have
On Mon, Jul 18, 2016 at 09:00:06AM +0200, Johannes Schindelin wrote:
> Hi Brian,
>
> On Sun, 17 Jul 2016, brian m. carlson wrote:
>
> > On Sun, Jul 17, 2016 at 10:01:38AM +0200, Johannes Schindelin wrote:
> > > Out of curiosity: have you considered someth
, avoids future-proofing problems,
and minimizes performance impacts due to naming like you mentioned.
[0] We are practically limited to 256-bit hashes because anything longer
will wrap on an 80-column terminal when in hex form.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 6
ecome my object-id-part5.
I recommend if you're planning on doing some of this work that you try
to avoid areas which are under work by other developers, especially the
refs code, which is undergoing massive changes. Other people will
appreciate it.
--
brian m. carlson / brian with sandals: Houst
checking
the output of the following commands:
git grep 'unsigned char.*20' | wc -l
git grep 'struct object_id' | wc -l
You are also welcome to contribute, of course.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature
o compile with PCRE because it enables git grep -P, which we use in
development. If you want git-svn, you'll of course need subversion.
In case you do move back to RHEL 5 (which I don't recommend), be aware
that the libcurl version is old enough that some features (DAV is one,
if I remember correct
s,
> so I don't think this will introduce new breakage for users of
> alternative libc implementations.
This is a good idea. If it's broken with Debian wheezy, it will also be
broken for RHEL/CentOS 6. People who really want the slimmest linkage
can use the -Wl,--as-needed flag.
--
bri
601 - 700 of 2261 matches
Mail list logo