Hi Hannes,
On Wed, 25 May 2016, Johannes Schindelin wrote:
> On Tue, 24 May 2016, Johannes Sixt wrote:
>
> > Could not apply fa62fea... mastergittest@master|REBASE-i 1/1:1008> 5~
> >
> > (Take note of the missing LF at the end of the message.)
>
> Oops. Good catch, thank you! I just fixed
Hi Hannes,
On Tue, 24 May 2016, Johannes Sixt wrote:
> Am 24.05.2016 um 15:18 schrieb Johannes Schindelin:
> > Hannes, could you quickly test whether
> > https://github.com/dscho/git/tree/interactive-rebase calls rerere twice,
> > too? (Please call interactive rebase with the
Hey Johannes,
On Wed, May 25, 2016 at 10:34 AM, Johannes Schindelin
wrote:
> Hi Pranit,
>
> I think this patch series is now in a fine shape. Just one minor nit:
Thanks!
> On Tue, 24 May 2016, Pranit Bauva wrote:
>
>> + OPT_CMDMODE(0,
On 05/24/2016 01:23 PM, Jean-Noël Avila wrote:
My mistake, sorry for the noise,
JFTR:
* only double quotes can fully escape a string (it is safer to enclose
the whole value in double quotes)
* backslashes have to be doubled because they are interpreted by git
So
[filter "kicad_sch"]
Hi Pranit,
I think this patch series is now in a fine shape. Just one minor nit:
On Tue, 24 May 2016, Pranit Bauva wrote:
> + OPT_CMDMODE(0, "check-term-format", ,
> + N_("check format of the term"), CHECK_TERM_FMT),
Just like with cmd_mode and CMD_MODE, it
Bonjour
Vous aviez besoin de prêts d'argent entre particuliers pour faire face
aux difficultés financières pour enfin sortir de l'impasse que
provoquent les banques, par le rejet de vos dossiers de demande de
crédits ?
Je suis un un citoyen français a la retraite en mesure de vous faire
un prêt
On 05/24/2016 01:57 PM, Johannes Schindelin wrote:
Hi,
On Tue, 24 May 2016, Torsten Bögershausen wrote:
On 05/23/2016 08:52 PM, Junio C Hamano wrote:
Johannes Schindelin writes:
Of course, if you are doing network mount between systems with and
without filemode
On Tue, May 24, 2016 at 6:20 AM, Johannes Schindelin
wrote:
> Hi Austin,
>
> On Mon, 23 May 2016, Austin English wrote:
>
>> As stated in title, I'd like to see an option to enable GPG signature
>> by default.
>
> I see an option was mentioned in the mail's subject
While --init-timeout and --timeout options exist and I've never
run git-daemon without them, some users may forget to set them
and encounter hung daemon processes when connections fail.
Enable socket-level timeouts so the kernel can send keepalive
probes as necessary to detect failed connections.
Users on deficient filesystems that lack an execute bit may still
wish to add files to the repository with the appropriate execute
bit set (or not). Although this can be done in two steps
(`git add foo && git update-index --chmod=+x foo`), providing the
`--chmod=+x` option to the add command
Check that we are configured to display colors in the given context when
the user specifies a format string of `%C(auto)`. This brings that
behavior in line with the behavior of `%C(auto,)`, which will
display the given color only when the configuration specifies to do so.
This allows the user
On Tue, May 24, 2016 at 05:55:02PM -0700, Junio C Hamano wrote:
> Looks obviously the right thing to do from a cursory read.
> Missing sign-off?
Yes, apologies for the oversight; will re-send.
Thanks-
-ed
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message
On Wed, May 18, 2016 at 3:37 PM, Jeff King wrote:
> I've often wanted to intercept the call from upload-pack to
> pack-objects. The final patch in this series goes into more detail, but
> basically it's good for:
>
> 1. Capturing the output from pack-objects for
On Tue, May 24, 2016 at 12:48 PM, Edward Thomson
wrote:
> Check that we are configured to display colors in the given context when
> the user specifies a format string of `%C(auto)`, instead of always
> displaying the default color for the given context. This makes
>
On Mon, May 23, 2016 at 6:44 AM, Elia Pinto wrote:
> +static void curl_dump_header(const char *text, unsigned char *ptr, size_t
> size, int hide_sensitive_header)
> +{
> + struct strbuf out = STRBUF_INIT;
> + const char *sensitive_header;
This variable now
On 05/25/16 00:30, Aaron Schrab wrote:
> At 14:49 +0200 24 May 2016, Matthieu Moy
> wrote:
>> Samuel GROOT writes:
>>
>>> What kind of help text would you want to see?
>>>
>>> Maybe something like this:
>>>
>>> GIT: Quoted message
On 05/23/2016 10:00 PM, Matthieu Moy wrote:
I don't think this is right: I often reply to an email with a single
patch, for which it would clearly be overkill to have a cover-letter.
Yes indeed, we are working on inserting the quoted message body in the
patch's "below-triple-dash" section.
On Mon, May 23, 2016 at 1:30 PM, Junio C Hamano wrote:
> Nathan Collins writes:
>
>> Example session:
>>
>> $ git init test.git
>> Initialized empty Git repository in /tmp/test.git/.git/
>> $ cd test.git
>> $ mkdir "dir name"
>> $
On Wed, May 25, 2016 at 5:46 AM, David Turner wrote:
> I was looking at this again today, and noticed that it doesn't really
> address the HTTP case.
>
> The central problem is that protocol v2 goes like this:
> server: I have capabilities w,x,y, and z
> client: I want
Duy Nguyen writes:
> Maybe bring back [1] (cquoting paths) and optionally optionally with
> backslash escaping? The conclusion at the end of that thread seems to
> be "ok, we may break rare setups, we just need to be upfront about
> it".
Yup, even though I do not think this
I was looking at this again today, and noticed that it doesn't really
address the HTTP case.
The central problem is that protocol v2 goes like this:
server: I have capabilities w,x,y, and z
client: I want capabilities x and z.
But HTTP goes like this:
client: [request]
server: [response]
I
At 14:55 +0200 24 May 2016, Matthieu Moy wrote:
So, when trying a forbidden push, Git would deny it and the only way to
force the push would be to remove the blacklist from the config, right?
Probably the sanest way to go. I thought about adding a "git push
At 14:49 +0200 24 May 2016, Matthieu Moy wrote:
Samuel GROOT writes:
What kind of help text would you want to see?
Maybe something like this:
GIT: Quoted message body below.
GIT: Feel free to trim down the quoted text
GIT:
Matthieu Moy writes:
>> More importantly, when is this function evaluated and returned value
>> used to fill commit_editmsg_path[]?
>
> I may have missed something, but I'd say "never", as the code is not
> compilable at least with my gcc:
It was a rhetorical
William Duclot writes:
> I did have considered IPATTERN(), but assumed that case-sensitive was
> default and case-insensitive was the exception.
Don't assume, but ask ;-)
> As the CSS pattern
> does not deal with letters at all it seemed sensible to me
> It is not a big deal for a small single-patch topic like this, but
> it often is hard to reviewers if you do not respond to comments you
> received and instead just send a new version of the patch with
> "changes since..." comment. Please make it a habit to do both.
Apologies, I am not quite
Samuel GROOT wrote:
> On 05/23/2016 09:55 PM, Eric Wong wrote:
> >Cool! There should probably be some help text to encourage
> >trimming down the quoted text to only relevant portions.
>
> What kind of help text would you want to see?
>
> Maybe something like
On Tue, May 24, 2016 at 1:51 PM, Yong Bakos wrote:
> Appending a period to "Everything up-to-date" makes the output message
> consistent with similar output in builtin/merge.c.
>
> Signed-off-by: Yong Bakos
> ---
> builtin/send-pack.c | 2 +-
>
Appending a period to "Everything up-to-date" makes the output message
consistent with similar output in builtin/merge.c.
Signed-off-by: Yong Bakos
---
builtin/send-pack.c | 2 +-
transport.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
On May 24, 2016 3:25 PM Lars Schneider wrote:
> > On 24 May 2016, at 12:16, Randall S. Becker
> wrote:
> >
> > On May 24, 2016 12:08 PM, Matthieu Moy wrote:
> >>> So, when trying a forbidden push, Git would deny it and the only way
> >>> to force the push would be to
Am 24.05.2016 um 00:11 schrieb Junio C Hamano:
Johannes Sixt writes:
However, calling "git rerere" after a failed "git commit" may be
destructive: it would record a resolution even though the commit has
not be completed. Think of an squash commit being aborted because the
user
Check that we are configured to display colors in the given context when
the user specifies a format string of `%C(auto)`, instead of always
displaying the default color for the given context. This makes
`%C(auto)` obey the `color=auto` setting and brings its behavior in line
with the behavior of
Junio C Hamano writes:
> Others, I am not sure how seriously we would want to support those
> who use "set -u"; the damage to test-lib.sh so far (see below) does
> not look _too_ bad, but the reason why I have "set -u" after
> including lib-bash.sh is because it will trigger a
Am 24.05.2016 um 15:18 schrieb Johannes Schindelin:
Hannes, could you quickly test whether
https://github.com/dscho/git/tree/interactive-rebase calls rerere twice,
too? (Please call interactive rebase with the GIT_USE_REBASE_HELPER=true
to avoid running the interactive rebase twice.)
I have a
David Turner writes:
> June 3rd will be my last day at Twitter. I hope that my new job
> (starting in July after a month of vacation) will give me time to work
> on Git, but I don't know exactly what parts I'll be working on, or on
> what schedule.
Thanks for your
> On 24 May 2016, at 12:16, Randall S. Becker wrote:
>
> On May 24, 2016 12:08 PM, Matthieu Moy wrote:
>>> So, when trying a forbidden push, Git would deny it and the only way
>>> to force the push would be to remove the blacklist from the config, right?
>>>
>>>
Junio C Hamano writes:
> On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy
> wrote:
>> So, when trying a forbidden push, Git would deny it and the only way to
>> force the push would be to remove the blacklist from the config, right?
>>
>> Probably
This is a follow up commit for f932729c (memoize common git-path
"constant" files, 10-Aug-2015).
The many function calls to git_path() are replaced by
git_path_commit_editmsg() and which thus eliminates the need to repeatedly
compute the location of "COMMIT_EDITMSG".
Mentored-by: Lars Schneider
June 3rd will be my last day at Twitter. I hope that my new job
(starting in July after a month of vacation) will give me time to work
on Git, but I don't know exactly what parts I'll be working on, or on
what schedule.
As a result, some of my patchsets may get significantly less of my
> On 24 May 2016, at 12:07, Junio C Hamano wrote:
>
> On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy
> wrote:
>> So, when trying a forbidden push, Git would deny it and the only way to
>> force the push would be to remove the blacklist from the
William Duclot writes:
> CSS is widely used, motivating it being included as a built-in pattern.
>
> It must be noted that the word_regex for CSS (i.e. the regex defining
> what is a word in the language) does not consider '.' and '#' characters
> (in CSS
`--next-all` is meant to be used as a subcommand to support multiple
"operation mode" though the current implementation does not contain any
other subcommand along side with `--next-all` but further commits will
include some more subcommands.
Helped-by: Johannes Schindelin
Reimplement the `write_terms` shell function in C and add a `write-terms`
subcommand to `git bisect--helper` to call it from git-bisect.sh . Also
remove the subcommand `--check-term-format` as it can now be called from
inside the function write_terms() C implementation.
Also `|| exit` is added
Reimplement the `check_term_format` shell function in C and add
a `--check-term-format` subcommand to `git bisect--helper` to call it
from git-bisect.sh
Using `--check-term-format` subcommand is a temporary measure to port
shell function to C so as to use the existing test suite. As more
Here is the link to v8[1]. This has a few modifications.
Changes wrt v8 as suggested by Christian are:
* Remove the redundant `|| exit`
Pranit Bauva (3):
bisect--helper: use OPT_CMDMODE instead of OPT_BOOL
bisect: rewrite `check_term_format` shell function in C
bisect--helper:
Richard Braun writes:
> On Tue, May 24, 2016 at 11:17:28AM -0700, Junio C Hamano wrote:
>> Pinging...
>
> Hum, see [1].
>
> Tell me if I need to resend.
Sorry, check the "To:" field of the message you are responding to.
The ping was not meant to (and was not addressed to) you.
tbo...@web.de writes:
> From: Torsten Bögershausen
>
> To compare a file in working tree with the index, convert_to_git() is used,
> the result is hashed and the hash value compared with ce->sha1.
>
> Deep down would_convert_crlf_at_commit() is invoked, to check if CRLF
> are
Hey Christian,
On Tue, May 24, 2016 at 1:03 PM, Christian Couder
wrote:
> On Tue, May 24, 2016 at 9:21 AM, Pranit Bauva wrote:
>> diff --git a/git-bisect.sh b/git-bisect.sh
>> index 7d7965d..cd39bd0 100755
>> --- a/git-bisect.sh
>> +++
On Tue, May 24, 2016 at 11:17:28AM -0700, Junio C Hamano wrote:
> Pinging...
Hum, see [1].
Tell me if I need to resend.
--
Richard Braun
Pacte Novation / Novasys Ingénierie
[1]
http://git.661346.n2.nabble.com/PATCH-gitweb-fix-link-to-parent-diff-with-pathinfo-td7655482.html
--
To unsubscribe
Richard Braun writes:
> Gitweb, when used with PATH_INFO, shows a link to parent diff
> like http://somedomain/somerepo.git/commitdiff/somehash?hp=parenthash.
> That link reports "400 - Invalid hash parameter".
>
> As I understand it, it should instead directly point to the
René Scharfe writes:
> diff: factor out match_func_rec()
> diff: handle appended chunks better with -W
> diff: ignore empty lines before added functions with -W
> diff: don't include common trailing empty lines with -W
> grep: don't extend context to trailing empty lines
Christian Couder writes:
>> diff --git a/git-bisect.sh b/git-bisect.sh
>> index 7d7965d..cd39bd0 100755
>> --- a/git-bisect.sh
>> +++ b/git-bisect.sh
>> @@ -210,7 +210,7 @@ bisect_start() {
>> eval "$eval true" &&
>> if test $must_write_terms -eq 1
>>
Armin Kunaschik writes:
>> I wouldn't allow it in our scripted Porcelain, but the environment
>> of our test scripts are under our control, so I do not think it is a
>> problem ("ls piped to sed" has been an established idiom before
>> readlink(1) was widely accepted,
Ville Skyttä writes:
> When the shell is in "nounset" or "set -u" mode, referencing unset or
> null variables results in an error. Protect $ZSH_VERSION and
> $BASH_VERSION against that.
> local ps1_expanded=yes
> - [ -z "$ZSH_VERSION" ] || [[ -o PROMPT_SUBST ]] ||
On Tue, May 24, 2016 at 6:57 PM, Junio C Hamano wrote:
> Matthieu Moy writes:
>
>> Armin Kunaschik writes:
>>
>>> t7800 fails on systems where readlink (GNUism?) is not available.
>>
>> I don't think it's POSIX, but it
Ville Skyttä writes:
> When the shell is in "nounset" or "set -u" mode, referencing unset or
> null variables results in an error. Protect $ZSH_VERSION and
> $BASH_VERSION against that.
>
> Signed-off-by: Ville Skyttä
> ---
Makes sense from a cursory
Matthieu Moy writes:
> Armin Kunaschik writes:
>
>> t7800 fails on systems where readlink (GNUism?) is not available.
>
> I don't think it's POSIX, but it is present on all POSIX-like systems I
> know. On which system did you get the
On Tue, May 24, 2016 at 6:45 PM, Junio C Hamano wrote:
> 3. find and install mktemp?
Sure, but which one? :-) mktemp is not mentioned in POSIX.
http://stackoverflow.com/questions/2792675/how-portable-is-mktemp1
--
To unsubscribe from this list: send the line "unsubscribe git"
Armin Kunaschik writes:
> t7800 fails on systems where readlink (GNUism?) is not available.
I don't think it's POSIX, but it is present on all POSIX-like systems I
know. On which system did you get the issue?
> +readlink() { ls -ld "$1" | sed 's/.* -> //'; }
This is
On Tue, May 24, 2016 at 9:44 AM, Armin Kunaschik
wrote:
> t7610-mergetool.sh fails on systems without mktemp.
>
> mktemp is used in git-mergetool.sh and throws an error when it's not
> available.
> error: mktemp is needed when 'mergetool.writeToTemp' is true
>
> I see 2
t7610-mergetool.sh fails on systems without mktemp.
mktemp is used in git-mergetool.sh and throws an error when it's not available.
error: mktemp is needed when 'mergetool.writeToTemp' is true
I see 2 options:
1. code around it, write an own mktemp, maybe use the test-mktemp as a basis.
2.
On Tue, May 24, 2016 at 9:16 AM, Randall S. Becker
wrote:
> May be missing the point, but isn't the original intent to provide
> policy-based to control the push
I didn't get the impression that those who are proposing were
interested in a "policy that you have to obey"
On May 24, 2016 12:08 PM, Matthieu Moy wrote:
> > So, when trying a forbidden push, Git would deny it and the only way
> > to force the push would be to remove the blacklist from the config, right?
> >
> > Probably the sanest way to go. I thought about adding a "git push
> >
On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy
wrote:
> So, when trying a forbidden push, Git would deny it and the only way to
> force the push would be to remove the blacklist from the config, right?
>
> Probably the sanest way to go. I thought about adding a "git
Hi guys,
Git v2.9.0-rc0 has been released, and it's time to start new round of git l10n.
This time there are 104 updated messages need to be translated since last
update:
l10n: git.pot: v2.9.0 round 1 (104 new, 37 removed)
Generate po/git.pot from v2.9.0-rc0 for git v2.9.0 l10n round 1.
t7800 fails on systems where readlink (GNUism?) is not available.
An easy workaround for the very basic readlink usage of this test
would be to use a shell function like this:
---
diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index ff7a9e9..be3d19f 100755
--- a/t/t7800-difftool.sh
+++
CSS is widely used, motivating it being included as a built-in pattern.
It must be noted that the word_regex for CSS (i.e. the regex defining
what is a word in the language) does not consider '.' and '#' characters
(in CSS selectors) to be part of the word. This behavior is documented
by the test
Hi,
On Mon, 23 May 2016, Junio C Hamano wrote:
> Johannes Sixt writes:
>
> > I also come to the conclusion that die_with_patch shouldn't have to
> > have a call to "git rerere". die_with_patch can be called after "git
> > cherry-pick", "git merge", "git commit", all of which
Lars Schneider writes:
> To answer your question,
> I would reject the push (because the remote is in the denied list) and
> print a warning to point out the conflicting configs to the user.
So, when trying a forbidden push, Git would deny it and the only way to
force
Samuel GROOT writes:
> On 05/23/2016 09:55 PM, Eric Wong wrote:
>> Tom Russello wrote:
>>> This new option takes an email message file, parses it, fills the "To",
>>> "Subject" and "Cc" fields appropriately and quote the message.
>>>
On 05/23/2016 09:55 PM, Eric Wong wrote:
Tom Russello wrote:
This new option takes an email message file, parses it, fills the "To",
"Subject" and "Cc" fields appropriately and quote the message.
This option involves the `--compose` mode to edit the cover
Hi,
On Tue, 24 May 2016, Torsten Bögershausen wrote:
> On 05/23/2016 08:52 PM, Junio C Hamano wrote:
> > Johannes Schindelin writes:
> >
> > > > Of course, if you are doing network mount between systems with and
> > > > without filemode support, the result would
On Tue, May 24, 2016 at 1:26 AM, Stefan Beller wrote:
> Hi,
>
> so I started looking into your narrow checkout branch and started reviewing
> the patches. Thanks for working on the narrow checkout!
>
> Reviewed-by: Stefan Beller (just asking for signoff)
>
Hey Matthieu,
On Tue, May 24, 2016 at 1:41 PM, Matthieu Moy
wrote:
> Junio C Hamano writes:
>
>> Pranit Bauva writes:
>>
>>> static const char *use_message_buffer;
>>> -static const char commit_editmsg[] =
Hi Austin,
On Mon, 23 May 2016, Austin English wrote:
> As stated in title, I'd like to see an option to enable GPG signature
> by default.
I see an option was mentioned in the mail's subject line, but no
indication which command you want to assume implicitly that this option
was passed.
Care
My mistake, sorry for the noise,
JFTR:
* only double quotes can fully escape a string (it is safer to enclose
the whole value in double quotes)
* backslashes have to be doubled because they are interpreted by git
So
[filter "kicad_sch"]
clean = "sed -E 's/#(PWR|FLG)[0-9]+/#\\1?/'"
Hello,
I have 2 failed tests here:
large transaction creating branches does not burst open file limit
large transaction deleting branches does not burst open file limit
both tests fail because of the decreased file limit:
git-2.8.3/t/../bin-wrappers/git: bad file unit number
The tests run fine
> On 24 May 2016, at 06:12, Francois Beutin
> wrote:
>
On May 20, 2016 10:22 AM, Francois Beutin wrote:
We (Ensimag students) plan to implement the "remote whitelist/blacklist"
feature described in the SoC 2016 ideas, but first I would like to be
Forgot to add:
± git --version
git version 2.8.3
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi everyone,
I stumbled on this:
config file:
[filter "kicad_sch"]
clean = sed -E 's/#(PWR|FLG)[0-9]+/#\1?/'
smudge = cat
Then in the shell:
± git add -u
sed -E 's/: 1: sed -E 's/: Syntax error: Unterminated quoted string
error: external filter sed -E 's/ failed 2
error:
> > > On May 20, 2016 10:22 AM, Francois Beutin wrote:
> > > We (Ensimag students) plan to implement the "remote whitelist/blacklist"
> > > feature described in the SoC 2016 ideas, but first I would like to be
> > > sure
> > > we
> > > agree on what exactly this feature would be, and that the
On Tue, May 24, 2016 at 10:10 AM, Christian Couder
wrote:
>
> I will send a diff between this version and the 50 first patches of v2
> soon as a reply to this email.
Here is the diff:
diff --git a/builtin/apply.c b/builtin/apply.c
index ec55768..c1c5592 100644
---
When the shell is in "nounset" or "set -u" mode, referencing unset or
null variables results in an error. Protect $ZSH_VERSION and
$BASH_VERSION against that.
Signed-off-by: Ville Skyttä
---
contrib/completion/git-prompt.sh | 4 ++--
1 file changed, 2 insertions(+), 2
On Sat, May 14, 2016 at 8:27 PM, Junio C Hamano wrote:
> Christian Couder writes:
>
>> On Thu, May 12, 2016 at 10:43 PM, Junio C Hamano wrote:
>>> Junio C Hamano writes:
>>>
Up to this point, the
The match_fragment() function is very big and contains a big special case
algorithm that does line by line fuzzy matching. So let's extract this
algorithm in a separate line_by_line_fuzzy_match() function.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
On Fri, May 13, 2016 at 9:42 PM, Christian Couder
wrote:
> On Thu, May 12, 2016 at 9:56 PM, Junio C Hamano wrote:
>> Christian Couder writes:
>>
>>> This is just a small cleanup.
>>
>> ... which may have been better
Let's just rename the global 'state_linenr' as it will become
'state->linenr' in a following patch.
This also avoid errors when compiling with -Wshadow and makes
it safer to later move global variables into a "state" struct.
Reviewed-by: Stefan Beller
Signed-off-by:
This is just a cleanup to avoid errors when compiling with -Wshadow and
to make it safer to later move global variables into a "state" struct.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 20 ++--
When the apply functionality will be libified, the 'struct apply_state'
will be used by different pieces of code.
To properly initialize a 'struct apply_state', let's provide a nice
and easy to use init_apply_state() function.
Let's also provide clear_apply_state() to release memory used by
To libify the apply functionality the 'has_include' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 6 +++---
1 file
To libify the apply functionality we should provide a function
to check that the values in a 'struct apply_state' instance are
coherent. Let's move the code to do that into a new
check_apply_state() function.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
To libify the apply functionality the 'patch_input_file' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 27
Junio C Hamano writes:
> Pranit Bauva writes:
>
>> static const char *use_message_buffer;
>> -static const char commit_editmsg[] = "COMMIT_EDITMSG";
>> +static const char commit_editmsg_path[] = git_path_commit_editmsg();
>
> The function defined with
To libify the apply functionality the 'threeway' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 14 +++---
1
This will enable further refactoring, and it is more coherent and
simpler if all the option_parse_*() functions are passed a
'struct apply_state' instance in opt->value.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c
To libify the apply functionality the 'unsafe_paths' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 8
1 file
To libify the apply functionality the 'numstat' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 9 -
1 file
To libify the apply functionality the 'diffstat' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 11 ++-
1 file
To libify the apply functionality the 'apply' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 31
To libify the apply functionality the 'root' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.
Reviewed-by: Stefan Beller
Signed-off-by: Christian Couder
---
builtin/apply.c | 82
1 - 100 of 144 matches
Mail list logo