On Mon, Sep 25, 2017 at 04:26:47PM -0400, Jeff King wrote:
> This series addresses the bits leftover from the discussion two weeks
> ago in:
>
>
> https://public-inbox.org/git/20170913170807.cyx7rrpoyhaau...@sigill.intra.peff.net/
>
> and its subthread. I don't think any of these is a real
Brandon Williams writes:
> +/* Returns 1 if packet_buffer is a protocol version pkt-line, 0 otherwise. */
> +static int process_protocol_version(void)
> +{
> + switch (determine_protocol_version_client(packet_buffer)) {
> + case protocol_v1:
> +
Brandon Williams writes:
> @@ -1963,6 +1964,19 @@ int cmd_receive_pack(int argc, const char **argv,
> const char *prefix)
> else if (0 <= receive_unpack_limit)
> unpack_limit = receive_unpack_limit;
>
> + switch (determine_protocol_version_server())
Brandon Williams writes:
> A normal request to git-daemon is structured as
> "command path/to/repo\0host=..\0" and due to a bug in an old version of
> git-daemon 73bb33a94 (daemon: Strictly parse the "extra arg" part of the
> command, 2009-06-04) we aren't able to place any
On Wed, 27 Sep 2017, Junio C Hamano wrote:
> > and that is where the gotcha comes -- what if "my" changes were already
> > published? then I would like to avoid the rebase, and would -s theirs
> > to choose "their" solution in favor of mine and be able to push so
> > others could still
Brandon Williams writes:
> +`GIT_PROTOCOL`::
> + For internal use only. Used in handshaking the wire protocol.
> + Contains a colon ':' separated list of keys with optional values
> + 'key[=value]'. Presence of unknown keys must be tolerated.
Is this meant to be
Jeff King writes:
> You actually don't need errno for that. You can write:
>
> ret = read_in_full(..., size);
> if (ret < 0)
> die_errno("oops");
> else if (ret != size)
> die("short read");
>
> So I think using errno as a sentinel value to tell between the two
On Tue, Sep 26, 2017 at 01:11:59PM +0900, Junio C Hamano wrote:
> Jeff King writes:
>
> >> #ifndef EUNDERFLOW
> >> # ifdef ENODATA
> >> # define EUNDERFLOW ENODATA
> >> # else
> >> # define EUNDERFLOW ESPIPE
> >> # endif
> >> #endif
> >
> > Right, I think our mails just crossed
Guten Tag Sir / ma,
Wir Norton Finanzierung Unternehmen hier in Großbritannien gibt
Darlehen an Kunden mit 2,4% Zinssatz.
und auch Geld für Investitionen und andere finanzielle Zwecke unabhängig von
ihrer Lage, Geschlecht, Familienstand, Bildung, Job-Status, sondern muss ein
"Eric Rannaud" writes:
> Any comments on the testing strategy with a background fast-import?
>
> To summarize:
> - fast-import is started in the background with a command stream that
> ends with "checkpoint\nprogress checkpoint\n". fast-import keeps
> running after
Did you receive my previous message about my donation to you? for philanthropic
and humanitarian work for all of mankind who are in great need among your
friends, family and people around you.
REPLY FOR MORE DETAILS.
Regards
Mrs Mavis Wanczyk.
Stefan Beller writes:
> submodule..update can be assigned an arbitrary command via setting
> it to "!command". When this command is found in the regular config, Git
> ought to just run that command instead of other update mechanisms.
>
> However if that command is just found
Ævar Arnfjörð Bjarmason writes:
> I do think however that we also need to update the docs, the relevant
> origin/master...gitster/sd/branch-copy diff is currently:
>
> +The `-c` and `-C` options have the exact same semantics as `-m` and
> +`-M`, except instead of the
On Tue, Sep 26, 2017 at 05:53:55PM -0700, Ernesto Alfonso wrote:
> I recently ran into a similar issue as described here:
>
> https://stackoverflow.com/questions/24821431/git-apply-patch-fails-silently-no-errors-but-nothing-happens
>
> I was using the alias:
>
> alias ganw='git diff -U0 -w
Brandon Williams writes:
> +/* Returns 1 if packet_buffer is a protocol version pkt-line, 0 otherwise. */
> +static int process_protocol_version(void)
> +{
> + switch (determine_protocol_version_client(packet_buffer)) {
> + case protocol_v1:
> +
Also, has there been a feature request for a '-w' option to 'git add',
analogous to the same option in 'git diff'?
Ernesto Alfonso writes:
> I recently ran into a similar issue as described here:
>
>
I recently ran into a similar issue as described here:
https://stackoverflow.com/questions/24821431/git-apply-patch-fails-silently-no-errors-but-nothing-happens
I was using the alias:
alias ganw='git diff -U0 -w --no-color "$@" | git apply --cached
--ignore-whitespace --unidiff-zero -'
to
Stefan Beller writes:
> When a submodule diff should be displayed we currently just add the
> submodule objects to the main object store and then e.g. walk the
> revision graph and create a summary for that submodule.
>
> It is possible that we are missing the submodule
Han-Wen Nienhuys writes:
> follow more commit log conventions; verified it compiled (yay).
;-)
> (should I send patches that are in 'pu' again as well?)
Because these look more or less independent changes that can be
queued on separate topics, I do not think resending is
Yaroslav Halchenko writes:
> and that is where the gotcha comes -- what if "my" changes were already
> published? then I would like to avoid the rebase, and would -s theirs
> to choose "their" solution in favor of mine and be able to push so
> others could still
Roberto Tyley writes:
> I had a quick look at git-send-email.perl, I see the trick is the `time++` one
> introduced with https://github.com/git/git/commit/a5370b16 - seems reasonable!
>
> SubmitGit makes all emails in-reply-to the initial email, which I
> think is
v2 of this series has the following changes:
* Included Jonathan Tan's patch as [1/9] with a small tweak to not rely on
hardcoding the side of sha1 into the capability line check.
* Reworked some of the logic in daemon.c
* Added the word 'Experimental' to protocol.version to indicate that
Teach upload-pack and receive-pack to understand and respond using
protocol version 1, if requested.
Protocol version 1 is simply the original and current protocol (what I'm
calling version 0) with the addition of a single packet line, which
precedes the ref advertisement, indicating the protocol
Tell a server that protocol v1 can be used by sending the http header
'Git-Protocol' indicating this.
Also teach the apache http server to pass through the 'Git-Protocol'
header as an environment variable 'GIT_PROTOCOL'.
Signed-off-by: Brandon Williams
---
cache.h
Create protocol.{c,h} and provide functions which future servers and
clients can use to determine which protocol to use or is being used.
Also introduce the 'GIT_PROTOCOL' environment variable which will be
used to communicate a colon separated list of keys with optional values
to a server.
Add a function which can be used to write the contents of an arbitrary
buffer. This makes it easy to build up data in a buffer before writing
the packet instead of formatting the entire contents of the packet using
'packet_write_fmt()'.
Signed-off-by: Brandon Williams
---
From: Jonathan Tan
Currently, get_remote_heads() parses the ref advertisement in one loop,
allowing refs and shallow lines to intersperse, despite this not being
allowed by the specification. Refactor get_remote_heads() to use two
loops instead, enforcing that refs come
Teach the connection logic to tell a serve that it understands protocol
v1. This is done in 2 different ways for the built in protocols.
1. git://
A normal request is structured as "command path/to/repo\0host=..\0"
and due to a bug in an old version of git-daemon 73bb33a94 (daemon:
Signed-off-by: Brandon Williams
---
t/interop/i5700-protocol-transition.sh | 68 ++
1 file changed, 68 insertions(+)
create mode 100755 t/interop/i5700-protocol-transition.sh
diff --git a/t/interop/i5700-protocol-transition.sh
A normal request to git-daemon is structured as
"command path/to/repo\0host=..\0" and due to a bug in an old version of
git-daemon 73bb33a94 (daemon: Strictly parse the "extra arg" part of the
command, 2009-06-04) we aren't able to place any extra args (separated
by NULs) besides the host.
In
Teach a client to recognize that a server understands protocol v1 by
looking at the first pkt-line the server sends in response. This is
done by looking for the response "version 1" send by upload-pack or
receive-pack.
Signed-off-by: Brandon Williams
---
connect.c | 30
Hi,
Johannes Schindelin wrote:
> Sorry, you are asking cryptography experts to spend their time on the Git
> mailing list. I tried to get them to speak out on the Git mailing list.
> They respectfully declined.
>
> I can't fault them, they have real jobs to do, and none of their managers
> would
Hi,
Stefan Beller wrote:
> From: Jonathan Nieder
I go by jrnie...@gmail.com upstream. :)
> This is "RFC v3: Another proposed hash function transition plan" from
> the git mailing list.
>
> Signed-off-by: Jonathan Nieder
> Signed-off-by: Jonathan Tan
On Tue, Sep 26, 2017 at 11:27 AM, Stefan Beller wrote:
> When a submodule diff should be displayed we currently just add the
> submodule objects to the main object store and then e.g. walk the
> revision graph and create a summary for that submodule.
>
> It is possible that we
[Reduced Cc: and change Subject:]
On 26/09/17 13:11, Eric Wong wrote:
> There's no blocks on public-inbox.org and I'm completely against
> any sort of blocking/throttling. Maybe there's too many pages
> to index? Or the Message-IDs in URLs are too ugly/scary? Not
> sure what to do about
On Fri, 22 Sep 2017 20:30:13 +
Jeff Hostetler wrote:
> + if (filter_options.relax) {
Add some documentation about how this differs from ignore_missing_links
in struct rev_info.
On Fri, 22 Sep 2017 20:30:11 +
Jeff Hostetler wrote:
> Makefile| 1 +
> object-filter.c | 269
>
> object-filter.h | 173
> 3 files changed, 443 insertions(+)
>
On Fri, 22 Sep 2017 20:26:22 +
Jeff Hostetler wrote:
> From: Jeff Hostetler
>
> Create traverse_commit_list_filtered() and add filtering
You mention _filtered() here, but this patch contains _worker().
> list-objects.h | 30
From: Jonathan Nieder
This is "RFC v3: Another proposed hash function transition plan" from
the git mailing list.
Signed-off-by: Jonathan Nieder
Signed-off-by: Jonathan Tan
Signed-off-by: Brandon Williams
On Fri, 22 Sep 2017 20:26:21 +
Jeff Hostetler wrote:
> From: Jeff Hostetler
>
> Create subclass of oidset where each entry has a
> field to store the length of the object's content
> and an optional pathname.
>
> This will be used in a
Hi Jason,
On Tue, 26 Sep 2017, Jason Cooper wrote:
> On Thu, Sep 14, 2017 at 08:45:35PM +0200, Johannes Schindelin wrote:
> > On Wed, 13 Sep 2017, Linus Torvalds wrote:
> > > On Wed, Sep 13, 2017 at 6:43 AM, demerphq wrote:
> > > > SHA3 however uses a completely different
On Fri, Sep 22 2017, Junio C. Hamano jotted:
> When creating a new branch B by copying the branch A that happens to
> be the current branch, it also updates HEAD to point at the new
> branch. It probably was made this way because "git branch -c A B"
> piggybacked its implementation on "git
Marc Herbert wrote:
> PS: I used NNTP and http://dir.gmane.org/gmane.comp.version-control.git
> to quickly find this old thread (what could we do without NNTP?). Then
> I googled for a web archive of this thread and Google could only find
> this one:
>
submodule..update can be assigned an arbitrary command via setting
it to "!command". When this command is found in the regular config, Git
ought to just run that command instead of other update mechanisms.
However if that command is just found in the .gitmodules file, it is
potentially untrusted,
Am 26.09.2017 um 20:54 schrieb Stefan Beller:
+test_expect_success 'submodule update - command in .gitmodules is ignored' '
+ test_when_finished "git -C super reset --hard HEAD^" &&
+
+ git -C super config -f .gitmodules submodule.submodule.update "!false"
&&
+ git -C super
On 31/03/16 13:39, Junio C Hamano wrote:
> Andy Lowry writes:
>
>> So I think now that the script should do "update-index --refresh"
>> followed by "diff-index --quiet HEAD". Sound correct?
>
> Yes. That has always been one of the kosher ways for any script to
> make
> "Note: Amazon SES overrides any Date header you provide with the
> time that Amazon
> SES accepts the message."
>
> http://docs.aws.amazon.com/ses/latest/DeveloperGuide/header-fields.html
>
> ...so the only way SubmitGit can offset the times is to literally
> delay the sending of the emails,
On 26 September 2017 at 16:40, Christian Couder
wrote:
> On Sun, Sep 24, 2017 at 9:59 AM, Junio C Hamano wrote:
>> Christian Couder writes:
>>
>>> (It looks like smtp.gmail.com isn't working anymore for me, so I am
>>>
On 9/26/2017 10:55 AM, Jeff Hostetler wrote:
On 9/22/2017 8:39 PM, Jonathan Tan wrote:
On Fri, 22 Sep 2017 20:26:19 +
Jeff Hostetler wrote:
...
I tried applying your patches and it doesn't apply cleanly on master.
Could you try rebasing? In particular, the code
submodule..update can be assigned an arbitrary command via setting
it to "!command". When this command is found in the regular config, Git
ought to just run that command instead of other update mechanisms.
However if that command is just found in the .gitmodules file, it is
potentially untrusted,
On 09/26, Jonathan Tan wrote:
> Currently, get_remote_heads() parses the ref advertisement in one loop,
> allowing refs and shallow lines to intersperse, despite this not being
> allowed by the specification. Refactor get_remote_heads() to use two
> loops instead, enforcing that refs come first,
When a submodule diff should be displayed we currently just add the
submodule objects to the main object store and then e.g. walk the
revision graph and create a summary for that submodule.
It is possible that we are missing the submodule either completely or
partially, which we currently
Currently, get_remote_heads() parses the ref advertisement in one loop,
allowing refs and shallow lines to intersperse, despite this not being
allowed by the specification. Refactor get_remote_heads() to use two
loops instead, enforcing that refs come first, and then shallows.
This also makes it
Dear Git users,
It is my pleasure to announce that Git for Windows 2.14.2 is available from:
https://git-for-windows.github.io/
Changes since Git for Windows v2.14.1 (August 10th 2017)
New Features
* Comes with Git v2.14.2.
* Comes with cURL v7.55.1.
* The XP-compatibility layer
On Tue, 26 Sep 2017 10:25:16 -0400
Jeff Hostetler wrote:
> >> Perhaps you could augment the OID lookup to remember where the object
> >> was found (essentially a .promisor bit set). Then you wouldn't need
> >> to touch them all.
> >
> > Sorry - I don't understand this.
Hi all,
Sorry for late commentary...
On Thu, Sep 14, 2017 at 08:45:35PM +0200, Johannes Schindelin wrote:
> On Wed, 13 Sep 2017, Linus Torvalds wrote:
> > On Wed, Sep 13, 2017 at 6:43 AM, demerphq wrote:
> > > SHA3 however uses a completely different design where it mixes a
On Sun, Sep 24, 2017 at 9:59 AM, Junio C Hamano wrote:
> Christian Couder writes:
>
>> (It looks like smtp.gmail.com isn't working anymore for me, so I am
>> trying to send this using Gmail for the cover letter and Submitgit for
>> the patches.)
>
>
On 09/22/2017 12:42 AM, Jonathan Tan wrote:
> On Thu, 21 Sep 2017 13:57:30 Jeff Hostetler wrote:
> [...]
>> I struggled with the terms here a little when looking at the source.
>> () A remote responding to a partial-clone is termed a
>> "promisor-remote". () Packfiles
My situation was a little different, but I was able to get this to work with
some interesting escaping.
helper = !"\"C:\\Path with spaces\\executable\"" --option1 value1
credential-helper $@
Notice the exclamation, quoted path of executable and extra escaped quotes
inside of that, plus escaped
On 9/22/2017 8:39 PM, Jonathan Tan wrote:
On Fri, 22 Sep 2017 20:26:19 +
Jeff Hostetler wrote:
This draft contains filters to:
() omit all blobs
() omit blobs larger than some size
() omit blobs using a sparse-checkout specification
In addition to specifying the
On 9/25/2017 12:17 PM, Johannes Schindelin wrote:
Hi Kaartic,
On Sun, 24 Sep 2017, Kaartic Sivaraam wrote:
On Thursday 21 September 2017 10:02 AM, Jeff King wrote:
Some tools like IDEs or fancy editors may periodically run commands
like "git status" in the background to keep track of the
On 9/22/2017 6:58 PM, Jonathan Tan wrote:
On Fri, 22 Sep 2017 17:32:00 -0400
Jeff Hostetler wrote:
I guess I'm afraid that the first call to is_promised() is going
cause a very long pause as it loads up a very large hash of objects.
Yes, the first call will cause a
On 9/22/2017 6:52 PM, Jonathan Tan wrote:
On Fri, 22 Sep 2017 17:19:50 -0400
Jeff Hostetler wrote:
In your specific example, how would rev-list know, on the client, to
include (or exclude) a large blob in its output if it does not have it,
and thus does not know its
On Tue, 26 Sep 2017, Junio C Hamano wrote:
> >> I do not recall people talking about symbolic links but the case of
> >> binary files has been on the wishlist for a long time, and I do not
> >> know of anybody who is working on (or is planning to work on) it.
> > Ah, I misremembered.
> > We've
On Tue, 26 Sep 2017, Junio C Hamano wrote:
> Yaroslav Halchenko writes:
> > 1. As a workaround for absence of -m theirs I using mtheirs git alias:
> > (I believe provided to me awhile back here on the list):
> > mtheirs = !sh -c 'git merge -s ours --no-commit $1 &&
On Tue, Sep 26, 2017 at 7:22 AM, Junio C Hamano wrote:
> Junio C Hamano writes:
>
>>
>> Thanks. I am not sure if you can safely reorder the contents of the
>> header files in general, but I trust that you made sure that this
>> does not introduce problems
This mirrors commit 'bdfdaa497 ("strbuf.h: integrate api-strbuf.txt
documentation, 2015-01-16") which did the same for strbuf.h:
* API documentation uses /** */ to set it apart from other comments.
* Function names were stripped from the comments.
* Ordering of the header was adjusted to follow
Signed-off-by: Han-Wen Nienhuys
---
setup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.c b/setup.c
index 42400fcc5..8c95841d5 100644
--- a/setup.c
+++ b/setup.c
@@ -541,7 +541,8 @@ void read_gitfile_error_die(int error_code, const char
*path,
Signed-off-by: Han-Wen Nienhuys
---
abspath.c | 4
1 file changed, 4 insertions(+)
diff --git a/abspath.c b/abspath.c
index 708aff8d4..985798532 100644
--- a/abspath.c
+++ b/abspath.c
@@ -202,6 +202,10 @@ char *strbuf_realpath(struct strbuf *resolved, const char
*path,
follow more commit log conventions; verified it compiled (yay).
(should I send patches that are in 'pu' again as well?)
Han-Wen Nienhuys (3):
real_path: clarify return value ownership
read_gitfile_gently: clarify return value ownership.
string-list.h: move documentation from
The checkpoint command cycles packfiles if object_count != 0, a sensible
test or there would be no pack files to write. Since 820b931012, the
command also dumps branches, tags and marks, but still conditionally.
However, it is possible for a command stream to modify refs or create
marks without
Derrick Stolee writes:
> diff --git a/t/helper/test-abbrev.c b/t/helper/test-abbrev.c
> new file mode 100644
> index 0..6866896eb
> --- /dev/null
> +++ b/t/helper/test-abbrev.c
> @@ -0,0 +1,19 @@
> +#include "cache.h"
> +#include
Same comment on as [1/5]
Derrick Stolee writes:
> diff --git a/t/helper/test-list-objects.c b/t/helper/test-list-objects.c
> new file mode 100644
> index 0..83b1250fe
> --- /dev/null
> +++ b/t/helper/test-list-objects.c
> @@ -0,0 +1,85 @@
> +#include "cache.h"
> +#include "packfile.h"
>
Johannes Sixt writes:
>> +test_when_finished "git -C super reset --hard HEAD^" &&
>> +
>> +write_script must_not_run.sh <<-EOF &&
>> +>$TEST_DIRECTORY/bad
>> +EOF
>
> I am pretty confident that this does not test what you intend to
> test. Notice that
The latest maintenance release Git v2.14.2 is now available at the
usual places. In addition to the cvsserver related fixes that
appear in 2.10.5, 2.11.4, 2.12.5 and 2.13.6 announced separately,
this also includes various fixes that were merged already to the
'master' branch.
The tarballs are
Maintenance releases Git v2.10.5, v2.11.4, v2.12.5 and v2.13.6 are
now available at the usual places. These are solely about hardening
"git shell" that is used on servers against an unsafe user input,
which "git cvsserver" copes with poorly. A copy of the release notes
for v2.10.5 is attached at
76 matches
Mail list logo