On 06/10/2015 12:37 AM, Junio C Hamano wrote:
Karthik Nayak writes:
>>> @@ -54,7 +59,6 @@ int cmd_for_each_ref(int argc, const char **argv, const
char *prefix)
>>>/* for warn_ambiguous_refs */
>>>git_config(git_default_config, NULL);
>>>
>>> -memset(&ref_cbdata, 0, sizeof(r
On Wed, Jun 03, 2015 at 12:27:16PM +0200, Kevin Daudt wrote:
> On Wed, Jun 03, 2015 at 02:49:01PM +0800, Paul Tan wrote:
> > Re-implement the behavior introduced by f9189cf (pull --rebase: exit
> > early when the working directory is dirty, 2008-05-21).
>
> When the option rebase.autoStash is set,
On Fri, Jun 5, 2015 at 5:29 AM, Jeff King wrote:
>
> However, some code paths make a large number of
> has_sha1_file checks which are _not_ expected to return 1.
> The collision test in index-pack.c is such a case. On a
> local system, this can cause a performance slowdown of
> around 5%. But on a
On Tue, Jun 9, 2015 at 10:00 PM, brian m. carlson
wrote:
> On Tue, Jun 09, 2015 at 07:12:21PM +0700, Duy Nguyen wrote:
>> diff --git a/transport.c b/transport.c
>> index f080e93..6bd6a64 100644
>> --- a/transport.c
>> +++ b/transport.c
>> @@ -657,16 +657,17 @@ static void print_ok_ref_status(struc
I'm setting up a clean/smudge filter for a repository. In local testing
it seemed to work well. To allow for the clean/smudge scripts to be
updated as the source changes, I put the clean/smudge scripts into the
repository, and configured the filter in my ~/.gitconfig file to be
simply "./filt
Paul Tan writes:
> +enum rebase_type {
> + REBASE_INVALID = -1,
> + REBASE_FALSE = 0,
> + REBASE_TRUE,
> + REBASE_PRESERVE
> +};
> +
> +/**
> + * Parses the value of --rebase, branch.*.rebase or pull.rebase. If value is
> a
> + * false value, returns REBASE_FALSE. If value is a t
Paul Tan writes:
> /**
> + * "Pulls into void" by branching off merge_head.
> + */
> +static int pull_into_void(unsigned char merge_head[GIT_SHA1_RAWSZ],
> + unsigned char curr_head[GIT_SHA1_RAWSZ])
> +{
It is not wrong per-se, but is rather unusual (and misleading) to
specify the a
Paul Tan writes:
> @@ -422,6 +423,14 @@ int cmd_pull(int argc, const char **argv, const char
> *prefix)
>
> parse_repo_refspecs(argc, argv, &repo, &refspecs);
>
> + git_config(git_default_config, NULL);
> +
> + if (read_cache_unmerged())
> + die_resolve_conflict("Pu
Mike Rappazzo writes:
> I have since reworked this script to support the short hash in the
> custom format as a special case:
I thought that we always give short form when presenting it to the
end user to edit, but for internal bookkeeping purposes we make sure
that we use the full SHA-1, so tha
Louis-Alexandre Stuber writes:
> Matthieu Moy wrote:
>
>> I think you would want to error out if errno is not ENOENT.
>
>
> Junio C Hamano wrote:
>
>> We might want to see why fopen() failed here. If it is because the
>> file did not exist, great. But otherwise?
>
>
> This file is always suppos
Paul Tan writes:
> +int cmd_pull(int argc, const char **argv, const char *prefix)
> +{
> + if (!getenv("_GIT_USE_BUILTIN_PULL")) {
> + const char *path = mkpath("%s/git-pull", git_exec_path());
> +
> + if (sane_execvp(path, (char**) argv) < 0)
Style: "(char **)argv".
Paul Tan writes:
>
> * Yup, I did mean strcmp(value, "only")
I may be missing some backstory behind this comment; in the patch, I
instead see !strcmp(value, "only") and I think it makes sense.
> + if (git_config_get_value("pull.ff", &value))
> + return;
> + switch (
Paul Tan writes:
> /**
> + * Appends merge candidates from FETCH_HEAD that are not marked not-for-merge
> + * into merge_heads.
> + */
Hmph, I vaguely recall doing that in C elsewhere already, even
though I do not remember where offhand...
> +static void get_merge_heads(struct sha1_array *merg
Paul Tan writes:
> Re-implement support for this flag by introducing the option callback
> handler parse_opt_passthru(). This callback is used to pass the
> "--progress" or "--no-progress" command-line switch to git-fetch and
> git-merge.
Forgot to rephrase? parse-opt-passthru() is a good name
Paul Tan writes:
> +/**
> + * Parses argv into [ [...]], returning their values in
> `repo`
> + * as a string and `refspecs` as a null-terminated array of strings. If
> `repo`
> + * is not provided in argv, it is set to NULL.
> + */
> +static void parse_repo_refspecs(int argc, const char **argv
On Tue, Jun 9, 2015 at 11:29 PM, Johannes Schindelin
wrote:
> Sorry to chime in so late in the discussion, but I think that the
> `--force-with-lease` option is what you are looking for. It allows you to
> force-push *but only* if the forced push would overwrite the ref we expect,
> i.e. (simpl
Paul Tan writes:
> Certain git commands, such as git-pull, are simply wrappers around other
> git commands like git-fetch, git-merge and git-rebase. As such, these
> wrapper commands will typically need to "pass through" command-line
> options of the commands they wrap.
>
> Implement the parse_op
Argh, thanks a lot! Should have read the man page better. OTOH,
I expect 'git commit --allow-empty' being needed, but 'git rebase --keep-empty'
comes somewhat as a surprise - I wasn't expecting git rebase to commit
each in turn,
but of course that's what it does.
On 7 May 2015 at 01:47, Mikael Ma
Paul Tan writes:
> diff --git a/parse-options-cb.c b/parse-options-cb.c
> index be8c413..5b1dbcf 100644
> --- a/parse-options-cb.c
> +++ b/parse-options-cb.c
> @@ -134,3 +134,32 @@ int parse_opt_noop_cb(const struct option *opt, const
> char *arg, int unset)
> {
> return 0;
> }
> +
> +/*
Matthieu Moy wrote:
> I think you would want to error out if errno is not ENOENT.
Junio C Hamano wrote:
> We might want to see why fopen() failed here. If it is because the
> file did not exist, great. But otherwise?
This file is always supposed to exist when the function is called
unless t
I have since reworked this script to support the short hash in the
custom format as a special case:
-git rev-list $merges_option --pretty=oneline --reverse --left-right
--topo-order \
+format=$(git config --get rebase.instructionFormat)
+no_format=$?
+if test ${no_format} -ne 0
+then
+ format="%H
Johannes Schindelin writes:
> Besides, are you sure you don't want to substitute an empty
> rebase.instructionFormat' by '%s'? I would have expected to read
> ${format:-%s}` (note the colon), but then, this was Junio's
> suggestion...
That was me simply being sloppy myself, expecting people not
Matthieu Moy writes:
> Antoine Delaite writes:
>
>> --- a/git-bisect.sh
>> +++ b/git-bisect.sh
>> @@ -32,6 +32,8 @@ OPTIONS_SPEC=
>>
>> _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
>> _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
>> +NAME_BAD="bad"
>> +NAME_GOOD="good"
>
> I would have
On Tue, Jun 9, 2015 at 11:21 AM, wrote:
> Thanks folks, I am digesting all you have said.
I did not intend to answer your original question, but to start a
discussion on the
feasibility of a dedicated "git lock" command.
There are lots of things which are checked in alongside the code
(The code
Karthik Nayak writes:
>>> @@ -54,7 +59,6 @@ int cmd_for_each_ref(int argc, const char **argv, const
>>> char *prefix)
>>> /* for warn_ambiguous_refs */
>>> git_config(git_default_config, NULL);
>>>
>>> - memset(&ref_cbdata, 0, sizeof(ref_cbdata));
>>
>> I cannot quite see how this chan
Michael Haggerty writes:
> Add functions to the reference API to
>
> * Delete a bunch of references at once, but *without* failing the
> whole transaction if one of the deletions fails. This functionality
> is used by `git remote remove` and `git remote prune`.
>
> * Create initial references
"git clean" uses resolve_gitlink_ref() to check for the presence of
nested git repositories, but it has the drawback of creating a
ref_cache entry for every directory that should potentially be
cleaned. The linear search through the ref_cache list causes a massive
performance hit for large number o
Am 05.06.2015 um 01:20 schrieb Christopher Dunn:
(Seen in git versions: 2.1.0 and 1.9.3 et al.)
$ git format-patch --stdout X^..X | git apply check -
fatal: unrecognized input
This fails when the commit consists of nothing but a submodule change
(as in 'git add submodule foo'), but it passes wh
Ariel Faigon writes:
> tcsh users who happen to have 'set noclobber' elsewhere in their
> ~/.tcshrc or ~/.cshrc startup files get a 'File exist' error, and
> the tcsh completion file doesn't get generated/updated.
>
> Adding a `!` in the redirect works correctly for both clobber (default)
> and '
On Tue, 9 Jun 2015 13:21:44 -0500
wrote:
> Thanks folks, I am digesting all you have said.
>
> Now the command line I can do (I'm a programmer) but the secretary
> here I doubt.
>
> So is there at GUI interface for this? Does it work on Windows
> systems?
That's why I asked whether the thing y
Remove leading and trailing whitespaces when sanitizing addresses so
that git send-email give the same output when passing arguments like
" j...@example.com " or "\t j...@example.com " as with
"j...@example.com".
The next commit will introduce a test for this aswell.
Signed-off-by: Remi Lespine
As alias file formats supported by git send-email doesn't take
whitespace into account, it is useless to consider whitespaces in
alias name. remove leading and trailing whitespace before expanding
allow to recognize strings like " alias" or "alias\t" passed by --to,
--cc, --bcc options or by the gi
Michael Haggerty writes:
> Change the error message from
>
> Could not remove branch %s
>
> to
>
> Could not remove reference %s
>
> This change makes sense even for the existing caller, which uses the
> function to delete remote-tracking branches.
I am 80% convinced ;-)
The existing ca
On 2015-06-09 16.07, Sascha Ziemann wrote:
> I tried to compile git 2.4.3 on Solaris 10. I used the following
> configuration:
>
> $ ./configure --without-iconv
>
> $ grep -i iconv config.status
> ac_cs_config="'--without-iconv'"
> set X /bin/bash './configure' '--without-iconv'
> $ac_configu
Am 07.06.2015 um 08:26 schrieb Stefan Beller:
On 06.06.2015 12:53, Luca Milanesio wrote:
On 6 Jun 2015, at 18:49, Phil Hord wrote:
On Fri, Jun 5, 2015, 2:58 AM lucamilanesio wrote:
Ideally, as a "git clone --recursive" already exists, I would like to
see a "git diff --recursive" that goes thr
Matthieu Moy writes:
> Guillaume Pagès writes:
>
>> Signed-off-by: Guillaume Pagès
>> ---
>> t/t7512-status-help.sh | 28 ++--
>> wt-status.c| 5 -
>
> Are there any change since the last version? Please, help reviewers by
> anticipating this question an
Here is a reroll of this series (after much delay).
Changes in v7:
* changed order of file size and file open error check in read_gitfile
* resolved conflicts with nd/multiple-work-trees. This removed the
need for is_git_directory_gently that was added in v6 and simplified
some error cases.
E
Signed-off-by: Erik Elfström
---
t/t7300-clean.sh | 142 +++
1 file changed, 142 insertions(+)
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 99be5d9..fbfdf2d 100755
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
@@ -455,6 +455,148 @@ te
read_gitfile_gently will allocate a buffer to fit the entire file that
should be read. Add a sanity check of the file size before opening to
avoid allocating a potentially huge amount of memory if we come across
a large file that someone happened to name ".git". The limit is set to
a sufficiently u
The tests are run in dry-run mode to avoid having to restore the test
directories for each timed iteration. Using dry-run is an acceptable
compromise since we are mostly interested in the initial computation
of what to clean and not so much in the cleaning it self.
Signed-off-by: Erik Elfström
--
read_gitfile will die on most error cases. This makes it unsuitable
for speculative calls. Extract the core logic and provide a gentle
version that returns NULL on failure.
The first usecase of the new gentle version will be to probe for
submodules during git clean.
Helped-by: Junio C Hamano
Hel
Thanks folks, I am digesting all you have said.
Now the command line I can do (I'm a programmer) but the secretary here I doubt.
So is there at GUI interface for this? Does it work on Windows systems?
Thanks,
Paul
Stefan Beller wrote:
> Just because Git allows distributed workflows, does
Hi,
Thanks for the review,
Junio C Hamano writes:
>> /*
>> + * The terms used for this bisect session are stocked in
>> + * BISECT_TERMS: it can be bad/good or new/old.
>> + * We read them and stock them to adapt the messages
>> + * accordingly. Default is bad/good.
>> + */
>
>s/stock/store/ p
On Mon, Jun 8, 2015 at 5:39 PM, Junio C Hamano wrote:
> Will Palmer writes:
>> diff --git a/t/t1511-rev-parse-caret.sh b/t/t1511-rev-parse-caret.sh
>> index e0fe102..8a5983f 100755
>> --- a/t/t1511-rev-parse-caret.sh
>> +++ b/t/t1511-rev-parse-caret.sh
>> @@ -19,13 +19,17 @@ test_expect_success '
Simplify code by creating a funct (comma separated, with aliases ...)
into a simple list of valid email addresses.
Signed-off-by: Remi Lespinet
---
git-send-email.perl | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/git-send-email.perl b/git-send-emai
Create a function which replaces Date, Message-Id and
X-Mailer lines generated by git-send-email by a specific string
Date:.*$ -> Date: DATE-STRING
Message-Id:.*$ -> Message-Id: MESSAGE-ID-STRING
X-Mailer:.*$ -> X-Mailer: X-MAILER-STRING
This is a preparatory for the next commit.
Signed-
Interpret aliases in:
- Header fields of patches generated by git format-patch
(using --to, --cc, --add-header for example) or
manually modified. Example of fields in header:
To: alias1
Cc: alias2
Cc: alias3
- Outputs of command scripts specified by --cc-cmd and
From: Jorge Juan Garcia Garcia
Accept a list of emails separated by commas in flags --cc, --to and
--bcc. Multiple addresses can already be given by using these options
multiple times, but it is more convenient to allow cutting-and-pasting
a list of addresses from the header of an existing e-mai
Move the creation of the scripts used in to-cmd and cc-cmd tests
in a setup test to make them available for later tests.
This will be used in the next commit.
Signed-off-by: Remi Lespinet
---
t/t9001-send-email.sh | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git
CHANGES (since last submitted version)
1/7 : identical to previous 1/5
2/7 : identical to previous 2/5
3/7 : identical to previous 3/5
4/7 : Modification previously done by 5/5 (refactoring address process)
5/7 : identical modulo a minor change at hunk @@ -1023,8 +1009,13 @@
in the function
On Tue, Jun 09, 2015 at 01:24:36PM -0400, Jeff King wrote:
> I tested this on my system, and confirmed that for a "git clone
> --no-local --bare git.git":
>
> 1. It cuts the number of openat/getdents/close syscalls by several
> orders of magnitude.
>
> 2. The overall time drops from ~11
tcsh users who happen to have 'set noclobber' elsewhere in their
~/.tcshrc or ~/.cshrc startup files get a 'File exist' error, and
the tcsh completion file doesn't get generated/updated.
Adding a `!` in the redirect works correctly for both clobber (default)
and 'set noclobber' users.
Helped-by:
On Fri, Jun 05, 2015 at 08:29:21AM -0400, Jeff King wrote:
> On Fri, Jun 05, 2015 at 08:18:17AM -0400, Jeff King wrote:
>
> > 1. Devise some torture to tests to see whether my patch series is in
> > fact racy on Linux.
> >
> > 2. Assuming it is, scrap it and make a has_sha1_file_quick()
Just because Git allows distributed workflows, doesn't mean we
should only focus on being distributed IMHO.
The question for content not being mergable easily pops up all
the time. (Game/Graphics designers, documents, all this binary
stuff, where there is no good merge driver).
I could imagine a
On Tue, Jun 9, 2015 at 9:29 AM, Johannes Schindelin
wrote:
> Hi,
>
> On 2015-06-09 16:06, Sitaram Chamarty wrote:
>> On 06/09/2015 05:42 PM, Duy Nguyen wrote:
>>> From a thread on Hacker News. It seems that if a user does not have
>>> access to the remote's reflog and accidentally forces a push to
On Tue, Jun 9, 2015 at 3:10 AM, Michael Haggerty wrote:
> On 06/08/2015 06:43 PM, Stefan Beller wrote:
>> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty
>> wrote:
>>> [...]
>>> +/*
>>> + * Delete the specified reference. If old_sha1 is non-NULL and not
>>> + * NULL_SHA1, then verify that the c
Convert the parse_fetch function to use struct object_id. Switch from
get_sha1_hex to parse_oid_hex to avoid hard-coding constants. Remove
the strlen check as parse_oid_hex will fail safely on receiving a
too-short NUL-terminated string.
Signed-off-by: brian m. carlson
---
remote-curl.c | 13 +
get_oid_hex is already available for parsing hex object IDs into struct
object_id, but parsing code still must hard-code the number of bytes
read. Introduce parse_oid_hex, which accepts an optional length, and
also returns the number of bytes parsed on success, or 0 on failure.
This makes it easie
Convert this function to use struct object_id. Use parse_oid_hex to
avoid having to hard-code the number of bytes to be parsed.
Signed-off-by: brian m. carlson
---
builtin/fetch-pack.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/builtin/fetch-pack.c b/builti
Use struct object_id in three fields in struct ref and convert all the
necessary places that use it.
Signed-off-by: brian m. carlson
---
builtin/clone.c| 16 +++---
builtin/fetch-pack.c | 4 ++--
builtin/fetch.c| 50 +--
builtin/
Add has_object_file, which is a wrapper around has_sha1_file, but for
struct object_id.
Signed-off-by: brian m. carlson
---
cache.h | 3 +++
sha1_file.c | 5 +
2 files changed, 8 insertions(+)
diff --git a/cache.h b/cache.h
index 571c98f..fa1f067 100644
--- a/cache.h
+++ b/cache.h
@@ -9
Convert ref_newer and its caller to use struct object_id instead of
unsigned char *.
Signed-off-by: brian m. carlson
---
builtin/remote.c | 2 +-
http-push.c | 4 ++--
remote.c | 8
remote.h | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/buil
This is another series of conversions to struct object_id.
This series converts more of the refs code and struct object to use
struct object_id. It introduces two additional helper functions. One
is has_object_file, which is the equivalent of has_sha1_file. The name
was chosen to be slightly mo
Convert several internal functions in refs.c to use struct object_id,
and use the GIT_SHA1_HEXSZ constants in parse_ref_line.
Signed-off-by: brian m. carlson
---
refs.c | 104 -
1 file changed, 52 insertions(+), 52 deletions(-)
dif
Hi,
On 2015-06-09 16:06, Sitaram Chamarty wrote:
> On 06/09/2015 05:42 PM, Duy Nguyen wrote:
>> From a thread on Hacker News. It seems that if a user does not have
>> access to the remote's reflog and accidentally forces a push to a ref,
>> how does he recover it? In order to force push again to r
Guillaume Pagès writes:
> Signed-off-by: Guillaume Pagès
> ---
> t/t7512-status-help.sh | 28 ++--
> wt-status.c| 5 -
Are there any change since the last version? Please, help reviewers by
anticipating this question and versionning your patches ([PATCH
On Tue, Jun 09, 2015 at 07:12:21PM +0700, Duy Nguyen wrote:
> diff --git a/transport.c b/transport.c
> index f080e93..6bd6a64 100644
> --- a/transport.c
> +++ b/transport.c
> @@ -657,16 +657,17 @@ static void print_ok_ref_status(struct ref *ref, int
> porcelain)
> "[new branc
Guillaume Pagès writes:
> Signed-off-by: Guillaume Pagès
> ---
> wt-status.c | 31 +++
> 1 file changed, 15 insertions(+), 16 deletions(-)
>
> diff --git a/wt-status.c b/wt-status.c
> index 33452f1..c239132 100644
> --- a/wt-status.c
> +++ b/wt-status.c
> @@ -1025,6
On 06/09/2015 07:55 PM, Jeff King wrote:
> On Tue, Jun 09, 2015 at 07:36:20PM +0530, Sitaram Chamarty wrote:
>
>>> This patch prints the latest SHA-1 before the forced push in full. He
>>> then can do
>>>
>>> git push +:
>>>
>>> He does not even need to have the objects that refers
>>> to. W
Expand test coverage with one or more than two commands done
and with zero, one or more than two commands remaining.
Signed-off-by: Guillaume Pagès
---
t/t7512-status-help.sh | 87 ++
1 file changed, 87 insertions(+)
diff --git a/t/t7512-status-he
Signed-off-by: Guillaume Pagès
---
t/t7512-status-help.sh | 28 ++--
wt-status.c| 5 -
2 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/t/t7512-status-help.sh b/t/t7512-status-help.sh
index 68ad2d7..190656d 100755
--- a/t/t7512-status-help.
git status gives more information during rebase -i, about the list of
command that are done during the rebase. It displays the two last
commands executed and the two next lines to be executed. It also gives
hints to find the whole files in .git directory.
Signed-off-by: Guillaume Pagès
---
t/t75
Signed-off-by: Guillaume Pagès
---
wt-status.c | 31 +++
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/wt-status.c b/wt-status.c
index 33452f1..c239132 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -1025,6 +1025,19 @@ static int split_commit_in_progre
On Tue, Jun 09, 2015 at 03:08:46PM +0200, Matthieu Moy wrote:
> I guess gitscm.com should just redirect to git-scm.com (sending the
> Location: field, and/or with stg like
> http://git-scm.com"; />
We (the git project) don't own gitscm.com. I don't recognize the name on
the whois:
$ whois gits
On Tue, Jun 09, 2015 at 07:36:20PM +0530, Sitaram Chamarty wrote:
> > This patch prints the latest SHA-1 before the forced push in full. He
> > then can do
> >
> > git push +:
> >
> > He does not even need to have the objects that refers
> > to. We could simply push an empty pack and the t
I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:
$ ./configure --without-iconv
$ grep -i iconv config.status
ac_cs_config="'--without-iconv'"
set X /bin/bash './configure' '--without-iconv'
$ac_configure_extra_args --no-create --no-recursion
OLD_ICONV=Unfortunate
On 06/09/2015 05:42 PM, Duy Nguyen wrote:
> From a thread on Hacker News. It seems that if a user does not have
> access to the remote's reflog and accidentally forces a push to a ref,
> how does he recover it? In order to force push again to revert it
> back, he would need to know the remote's old
On 06/08/2015 09:44 PM, Konstantin Khomoutov wrote:
> On Mon, 8 Jun 2015 9:45:17 -0500
> wrote:
>
> [...]
>> My question is, will GIT work with MS access forms, queries, tables,
>> modules, etc?
> [...]
>
> Git works with files. So in principle it will work with *files*
> containing your MS acc
Matthieu Moy venit, vidit, dixit 09.06.2015 15:08:
> Michael J Gruber writes:
>
>> Hi there,
>>
>> I (mis-) remembered the git site address and noticed that gitscm.com
>> returns empty while git-scm.com is our beloved home. I thought, though,
>> that we have a couple domains with redirects but I
Duy Nguyen writes:
> From a thread on Hacker News. It seems that if a user does not have
> access to the remote's reflog and accidentally forces a push to a ref,
> how does he recover it? In order to force push again to revert it
> back, he would need to know the remote's old SHA-1. Local reflog
Michael J Gruber writes:
> Hi there,
>
> I (mis-) remembered the git site address and noticed that gitscm.com
> returns empty while git-scm.com is our beloved home. I thought, though,
> that we have a couple domains with redirects but I may be misremembering
> that also. Or DNS is "hicking up".
Hi,
On 2015-06-09 14:10, QbProg wrote:
> I reproduce it using the windows command prompt (cmd.exe) using any
> repository. I tryed with bash and it works correctly.
Please note that you removed enough context that the mail does not make sense
anymore if read individually.
At this point it migh
Hi there,
I (mis-) remembered the git site address and noticed that gitscm.com
returns empty while git-scm.com is our beloved home. I thought, though,
that we have a couple domains with redirects but I may be misremembering
that also. Or DNS is "hicking up".
Cheers,
Michael
--
To unsubscribe from
On 06/09/2015 01:02 AM, Junio C Hamano wrote:
Karthik Nayak writes:
+#define OPT_CONTAINS(filter, h) \
+ { OPTION_CALLBACK, 0, "contains", (filter), N_("commit"), (h), \
+ PARSE_OPT_LASTARG_DEFAULT, \
+ parse_opt_with_commit, (intptr_t) "HEAD" \
+ }
+#define OPT_WIT
Christian Couder writes:
> "old/new" is not more generic than "good/bad".
I disagree with this. In any case, we're looking for a pair of commits
where one is a direct parent of the other. So in the end, there's always
the old behavior and the new behavior in the end.
In natural language, I can
On 06/09/2015 12:50 AM, Junio C Hamano wrote:
Karthik Nayak writes:
+int parse_opt_merge_filter(const struct option *opt, const char *arg, int
unset)
+{
+ struct ref_filter *rf = opt->value;
+ unsigned char sha1[20];
+
+ rf->merge = opt->long_name[0] == 'n'
+ ?
>From a thread on Hacker News. It seems that if a user does not have
access to the remote's reflog and accidentally forces a push to a ref,
how does he recover it? In order to force push again to revert it
back, he would need to know the remote's old SHA-1. Local reflog does
not help because remote
Hi,
On 2015-06-09 10:43, Qb wrote:
> I'm trying the release candidate on Win 8.1. Everything's working now, but
> when I clone a repository
>
> git clone http://./name.git CustomFolder
>
> it creates CustomFolder with the checkout files, but the .git folder is
> created inside CustomFolde
On 06/09/2015 12:42 AM, Junio C Hamano wrote:
Is this intended? I would have expected if I did
git for-each-ref --points-at master
I would get refs/heads/master and any other refs that exactly points
at that commit.
Thats to be changed, thanks!
FIELD NAMES
---
diff -
On Tue, Jun 09, 2015 at 12:50:13PM +0200, Michael Haggerty wrote:
> The new code (in delete_refs()) allows delete_ref() to emit its error,
> but then follows it up with
>
> error(_("could not remove reference %s"), refname)
>
> The "could not remove reference" error originally came from a si
On 06/09/2015 12:30 AM, Junio C Hamano wrote:
This feels way too specialized to live as part of parse_options
infrastructure.
The existing caller(s) may want to use this callback for parsing
"points-at" option they have, but is that the only plausible use of
this callback? It looks to be usabl
On 06/08/2015 07:12 PM, Jeff King wrote:
> On Mon, Jun 08, 2015 at 09:57:04AM -0700, Stefan Beller wrote:
>
>> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty
>> wrote:
>>> This will result in errors being emitted for references that can't be
>>> deleted, but that is a good thing.
>>
>> This so
I see your point, and I'll explore that avenue.
Personally, I like the idea that one could also use the short hash if
the custom instruction started with "%h ", but I see the value in
leaving the variable blank.
After running the tests with a custom format enabled, I did find that
autosquash does
On 06/08/2015 06:51 PM, Stefan Beller wrote:
> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty wrote:
>> This string is going to have to be re-internationalized anyway because
>> of the previous commit. So while we're at it, we might as well convert
>> it to lower case as per our usual practice.
On 06/08/2015 06:48 PM, Stefan Beller wrote:
> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty wrote:
>> delete_ref() uses a different convention for its old_sha1 parameter
>> than, say, ref_transaction_delete(): NULL_SHA1 means not to check the
>> old value. Make this fact a little bit clearer i
On 06/08/2015 06:43 PM, Stefan Beller wrote:
> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty wrote:
>> [...]
>> +/*
>> + * Delete the specified reference. If old_sha1 is non-NULL and not
>> + * NULL_SHA1, then verify that the current value of the reference is
>> + * old_sha1 before deleting it.
On Tue, Jun 9, 2015 at 3:57 AM, Junio C Hamano wrote:
> Paul Tan writes:
>
>> git-mailsplit, which splits mbox patches, will read the patch from stdin
>> when the filename is "-" or there are no files listed on the
>> command-line.
>>
>> To be consistent with this behavior, teach the StGit patch
Hi,
On 2015-06-08 23:00, Michael Rappazzo wrote:
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index dc3133f..b92375e 100644
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -977,7 +977,9 @@ else
> revisions=$onto...$orig_head
> sho
The subject is better but still not quite there. I suggest:
[PATCH] git-completion.tcsh: fix redirect with noclobber
On Tue, Jun 9, 2015 at 1:01 AM, Ariel Faigon wrote:
> tcsh users who happen to have 'set noclobber' elsewhere in their ~/.tcshrc or
> ~/.cshrc startup files get a 'File exist' er
On Tue, Jun 9, 2015 at 4:10 AM, Junio C Hamano wrote:
> Paul Tan writes:
>
>> When git-am is first run on an unborn branch, no ORIG_HEAD is created.
>> As such, any applied commits will remain even after a git am --abort.
>
> I think this answered my question on 4/6; that may indicate that
> thes
1 - 100 of 107 matches
Mail list logo