Some sort of flag which says we are handling files or revisions.
That already exists, it is spelt `--'.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- MINSIZE=$(ls -l .git/objects/pack/*pack | awk "{print \$5;}" |
> sort -n | head -n 1) &&
> + MINSIZE=$(stat -c %s .git/objects/pack/*pack | sort -n | head
> -n 1) &&
You could also use ls -n.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
On Jun 14 2019, Phil Hord wrote:
> It feels like `.git/info/grafts` would work the best if it could be
> distributed with the project, but I'm pretty sure that's a non-starter
> for many reasons.
The graft file is obsoleted by git replace.
Andreas.
--
Andreas Schwab, sc
On Mai 25 2019, René Scharfe wrote:
> Can Unicode symlink targets contain NULs? We wouldn't want to damage
> them even if we decide to truncate.
The POSIX interface doesn't allow creating such a symlink, since the
argument to symlink is a C string.
Andreas.
--
Andreas Schw
then git filter-branch to make it
permanent?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
t;git add" here? It doesn't commit, it adds to the index.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
with modified content. If you want to keep them you
need to create commits in each modified submodule, then add them to the
superproject and commit there.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And no
s a shell or something else (still trying to find that).
See run-command.c:prepare_shell_cmd, if the command contains shell meta
characters it is passed to sh -c without further quoting.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780
rcuit direct to help
> item. However this did not happen.
$ git help glossary
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
rc/grumpy (push)
>
>
> It's still SSH. What am I doing wrong?
Do you have a URL rewrite rule (url.*.insteadof)?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
When running `git replace --graft A B' where B is a non-commit (eg. a
tag) it displays an error, but creates the replace ref anyway. I think
it should verify that B names a commit object before creating the ref.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint =
cially if the completion is
ambigous.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
diff A..B" is that you can c&p the output from the
fetch run without the need to edit it.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
On Jan 08 2019, Markus Wiederkehr wrote:
> On Tue, Jan 8, 2019 at 6:43 PM Andreas Schwab wrote:
>>
>> On Jan 08 2019, Markus Wiederkehr wrote:
>>
>> > Would it be possible to retain this information?
>>
>> You could use the reflog of the current branc
ation?
You could use the reflog of the current branch, where it is the second
entry.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
On Dez 05 2018, Elijah Newren wrote:
> Or, just use name-rev so it works with non-linear histories too:
>
> git log | git name-rev --refs=$(git symbolic-ref HEAD) --stdin | less
That wouldn't work for a detached HEAD, though, and you need to use
--no-abbrev.
Andreas.
--
Andre
ompile farm <http://gcc.gnu.org/wiki/CompileFarm> has a machine
running AIX, and is free to use for anyone working on free software.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
M-x shell then
Emacs handles special keys like TAB itself (and the started shell
usually disables its own command line editing). If you use M-x term
then Emacs emulates a terminal and lets the running process handle all
special keys.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fi
> place". how can they be set differently yet still must refer to the
> same place?
They could be using different transport methods. For example, for
fetching the unauthenticated git: method could be used, but for pushing
an authenticated method like ssh: is usually needed.
Andreas.
--
Andre
g tree,
git log/show don't appear to do that.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
ore is a git repository. It sets up a diff
attribute that decrypts the contents, but that works only if the command
is issued while inside the repository.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now fo
output - really. I'm sure it seemed like a good idea at the time,
> but I can see how it could have been used for evil.
Do you also want to block "+++AT"? :-)
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
mmand. The `-g' option suppresses this behavior.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Jan 26 2018, Junio C Hamano wrote:
> Also, would >>32 be a problem if commit.date is an uint32 (and
> shifting all its bits out to the right)?
It would be undefined.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 21
On Jan 17 2018, Christoph Hellwig wrote:
> I've lost data on development machines with various times countless
> times due to the lack of this option, and now lost trees on a
Too many times. :-)
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D5
ng
branches are put in a separate name space. If you fetch the remote tags
into a separate name space (eg. refs/remote/tags/*:refs/tags/*) then
there is no conflict.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And
r as POSIX is concerned, semicolons are not special, but can be
used to separate commands instead of newlines.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
something.
>>
>> I agree with the "unbuffered" statement. I am surprised that you expect
>> fflush()
>> to do nothing in that situation... but I am no expert in that area. Can you
>> point me to some documentation?
>
> Because stderr is unbuffer
t if B3 renames or copies the blob?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
pack"
> using "https" procotol. Example of a trace below:
>
> 12:03:07.512558 git.c:344 trace: built-in: git 'fetch-
> pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'https://githu
> b.
combination with
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
spaces).
An easy workaround would be to add a comma between `-f` and 'git
branch'.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Okt 17 2017, Jeff King wrote:
> On Tue, Oct 17, 2017 at 07:25:28PM +0200, Andreas Schwab wrote:
>
>> >> I see this in git-branch.1:
>> >>
>> >> Reset to if exists already\&.
>> >> Without
>> >> \fB\-f\fR\fIgit br
On Okt 17 2017, Jeff King wrote:
> On Tue, Oct 17, 2017 at 06:29:59PM +0200, Andreas Schwab wrote:
>
>> On Okt 16 2017, Jeff King wrote:
>>
>> > I get:
>> >
>> > Reset to if exists already\&.
>> > Without
>> > \fB
ut
\fB\-f\fR\fIgit branch\fR
refuses to change an existing branch\&. In combination with
This is with asciidoc 8.6.9.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
ith embedded escape sequences?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
a/some_file b/some_file
>> new file mode 100644
>> index 000..357323f
>> --- /dev/null
>> +++ b/some_file
>> @@ -0,0 +1 @@
>> +?Hello
>> \ No newline at end of file
>
> It is your terminal, not git's fault that you get a ? rendered.
It's your MUA's fault that you get a ?, the mail didn't contain any.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Sep 21 2017, Junio C Hamano wrote:
> Now you make me curious. How would that variant be different from
> option C. in Jonathan's message?
Only in the parity of the condition.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D
On Sep 20 2017, Jonathan Nieder wrote:
> Andreas Schwab wrote:
>> On Sep 19 2017, Jonathan Nieder wrote:
>
>>> B. #define for_each_string_list_item(item, list) \
>>> if (list->items) \
>>> for (item = ...; ...; ... )
>>&g
ing_list_item(item, list)
> ...
> else
> ...
>
>making it a non-starter.
That can be fixed with a dangling else.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
ning the above commit was merged into a branch that follows
v4.9-rc2, which eventually was merged into v4.10-rc1.
> BTW, what are the numbers 154^2~44^2~178 that follow the tag name?
See git-rev-parse(1). '~N' means to go back N parents, ^N means to pick
parent N of a merge commit.
Andre
&&
> test_cmp expect actual &&
> run_with_limited_stack git tag --no-contains HEAD >actual &&
> - test_line_count ">" 10 actual
> + test_line_count "-gt" 10 actual
Maybe also remove the quotes, they are no longer need
= DQUOTE *QUOTED-CHAR DQUOTE
QUOTED-CHAR = /
"\" quoted-specials
quoted-specials = DQUOTE / "\"
Thus the quoting applies to any element that is a string (and a double
quote needs to be quoted as well).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.or
gt;
> Thanks for testing -
> Normal and Normal ;-)
> For me the 6th code point does look strange
> The "box" with 04142F:
This is actually 1244f (CUNEIFORM NUMERIC SIGN ONE BAN2).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D
guarantee (e.g., gcc had designated initializers before
> C99 existed).
Note that the GNU C designated initializers initially used a different
syntax than the one C99 adopted.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276
On Jul 09 2017, René Scharfe wrote:
> [2] http://pubs.opengroup.org/onlinepubs/009695399/functions/memchr.html
You are using an old revision.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for s
On Jul 08 2017, René Scharfe wrote:
> Am 08.07.2017 um 13:08 schrieb Andreas Schwab:
>> On Jul 08 2017, René Scharfe wrote:
>>
>>> Avoid running over the end of another -- a C string whose length we
>>> don't know -- by using strcmp(3) instead of memcmp(
past the differing characters.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
rge branch ([-\w]+)' to match it.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Jun 09 2017, Jonathan Nieder wrote:
> That way side-effectful callers like FREEZ(func() ? a : b) would
> work.
Except that you cannot take the address of a non-lvalue.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214
-access
> emulation" our userland may not see a SIGBUS.
Even if the architecture implements unaligned accesses in hardware, it
is still undefined behaviour, and the compiler will (eventually) take
advantage of it.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint
On Jun 01 2017, "brian m. carlson" wrote:
> On Thu, Jun 01, 2017 at 10:28:52AM +0200, Andreas Schwab wrote:
>> The sh1dc implementation is making unaligned accesses, which will crash
>> on some architectures, others have to emulate them in software.
>>
>>
This is git 2.13.0.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
SHA1DCUpdate calls sha1_process with buf being unaligned.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 26, temp);
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
SP ('='
> )? LF" (similarly to the docs for feature), and explain this
> is meant to allow other consumers of the fast import format.
>
> Looks like this bug existed since the option command was added in
> 9c8398f in 2009. Am I the first one who tried to use it? ;-
> ...
>
> instead of:
> pick deadbee The oneline of this commit
> ...
>
> Using a single character command-name allows the lines to remain
> aligned, making the whole set more readable.
Perhaps there should rather be an option to tell rebase to align the
columns?
Andrea
list would use the short version of the command resulting in
> + something like this.
> +
> +---
> + p deadbee The oneline of this commit
> + p fa1afe1 The oneline of the next commit
> + ...
> +-------
s
> itself being on the "initial commit" with all files being in the
> staging area.
Fixed since 2.8.3.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
alling out the
> bitwise-OR, though, just to make it clear it's not a typo).
Since the order of evaluation is unspecified, it would be better to
force sequencing ferror before fclose.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-P -E
> a\x{2b}b\x{2a}c ab >actual
You need to quote the regexp argument, see the line starting with
"test_must_fail" above.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Dez 28 2016, Eduardo Habkost wrote:
> @@ -32,10 +32,12 @@ OPTIONS
> If you supply directories, they will be treated as Maildirs.
>
> -s::
> ---signoff::
> +--[no-]-signoff::
That's one dash too much.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG
gnore-date] [--ignore-space-change | --ignore-whitespace]
>[--whitespace=] [-C] [-p] [--directory=]
> @@ -32,10 +32,12 @@ OPTIONS
> If you supply directories, they will be treated as Maildirs.
>
> -s::
> ---signoff::
> +--[no]-signoff::
That should be --[no-]signoff, as
nce of the pid file to test that the merge
driver was actually called.
Signed-off-by: Andreas Schwab
---
t/t6026-merge-attr.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/t/t6026-merge-attr.sh b/t/t6026-merge-attr.sh
index 7a6e33e673..03d13d00b5 100755
--- a/t/t6026-mer
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Commit 5babb5bdb3 ("t6026-merge-attr: clean up background process at end
of test case") added a kill command to clean up after the test, but this
can fail if the sleep command exits before the cleanup is executed.
Ignore the error from the kill command.
Signed-off-by: Andreas Schwa
On Okt 25 2016, Junio C Hamano wrote:
> Somebody with a bright idea decided that vc-git-resolve-conflicts
> variable should be on by default in Emacs 25.1 X-<
This is consistent with the behaviour of the other VC backends, where it
isn't even customizable.
Andreas.
--
Andre
t any remote-tracking branches, --origin doesn't make sense.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
chine with `git add ".*"` and it didn't error out.
Probably you were running it in a subdirectory.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
rs that you are no longer in a working
> tree that is controlled by a repository at .git/ because .git/ is
> no longer a valid repository, so you cannot even do
>
> $ git symbolic-ref HEAD refs/heads/master
>
> to recover.
git init recovers it, though.
Andreas.
--
Andreas S
On Aug 20 2016, Josh Triplett wrote:
> If you want to find a change that introduces or removes a particular
> string, you could use "git log -S". That doesn't allow regexes,
It does, actually, see --pickaxe-regex.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG K
t; What must be done now to get a usable patch?
>
> As an aside, the range can be shortened to
>
> 95fa0405c5991726e06c08ffcd8ff872f7fb4f2d^!
In the context of format-patch you can also use -1 to select the topmost
commit from the list.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D5
n goes.
> - if it is a more generic comment about this configuration file,
>it should stay.
The comment may not be related to the surrounding keys, but just a
commented-out config key that you want to keep around for reference.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG K
n put there on purpose.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a me
Johannes Schindelin writes:
> Hi Andreas,
>
> On Sun, 24 Jul 2016, Andreas Schwab wrote:
>
>> Eric Wong writes:
>>
>> > diff --git a/mailinfo.c b/mailinfo.c
>> > index 9f19ca1..0ebd953 100644
>> > --- a/mailinfo.c
>> > +++ b/maili
+ !isdigit(colon[ 2]))
> + return 0;
> +
> + /* year */
> + if (strtol(colon+3, NULL, 10) <= 90)
> + return 0;
> +
> + /* Ok, close enough */
> + return 1;
> +}
Should this be made more strict, like by checking for a spac
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
Jeff King writes:
> In case it wasn't clear, I was mostly guessing there. So I dug a bit
> further, and indeed, I am wrong. Linux never bumped to a 64-bit time_t
> on i386 because of the ABI headaches.
This is being worked on.
Andreas.
--
Andreas Schwab, sch...@linux-m6
Johannes Schindelin writes:
> Hi Andreas,
>
> On Tue, 12 Jul 2016, Andreas Schwab wrote:
>
>> Johannes Schindelin writes:
>>
>> >> PRIuMAX isn't compatible with time_t.
>> >
>> > That statement is wrong.
>>
>> No, it is
Johannes Schindelin writes:
>> PRIuMAX isn't compatible with time_t.
>
> That statement is wrong.
No, it isn't. PRIuMAX is for uintmax_t, and time_t is not uintmax_t
(even if they happen to have the same representation).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.o
Q_("%" PRIuMAX " second ago", "%" PRIuMAX " seconds
> ago", diff), diff);
PRIuMAX isn't compatible with time_t.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4
amp;
# test_cmp expect actual
This is outside the range of 32bit time_t.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this lis
de4fa746271d39d490b59bdfbbdd2cf5b54c0521
fatal: you want to use way too much memory
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from thi
Peter writes:
> Ah, ok, I see now. But are there any other situations where the "-f"
> switch is not needed?
When the file is unmodified and matches the index.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 82
Peter writes:
> So if I do:
>
> touch abc
> git add abc
>
>
> And after that I do:
>
> git rm abc
error: the following file has changes staged in the index:
abc
(use --cached to keep the file, or -f to force removal)
Andreas.
--
Andreas Schwab, sch...@linux-m
ost data.
The data is still preserved. You can restore it with "git checkout HEAD
".
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from
shawn wilson writes:
> $ git filter-branch --tree-filter "shopt -s extglob && mkdir -p
> cookbooks/base_sys && mv !(cookbooks) cookbooks/base_sys"
extglob changes the parser, you need to set that on a separate line.
Andreas.
--
Andreas Schwab, sch...@linux-m68
Norbert Kiesel writes:
> For the record: the faulty commit is
> https://github.com/seandepagnier/weather_routing_pi/commit/23c07cc5d2be7ce68349f4b3719b6fa6fe90e0bf
That commit is part of master. Are you sure you don't have it already?
Andreas.
--
Andreas Schwab, sch...@linux-m
+ if (st.st_mtime > expire || st.st_ctime >= start)
That will also mean objects created (or their inode changed) up to a
second before the start of prune will not be removed. For example,
objects ejected out of a pack by a previous repack may be affected.
Andreas.
--
Andreas Schwab, sch...@
cription="merges with unrelated index changes"
> # Commit E: renames a->subdir/a, adds subdir/e
>
> test_expect_success 'setup trivial merges' '
> - seq 1 10 >a &&
> + printf 1 2 3 4 5 7 8 9 10 >a &&
$ printf 1 2 3 4 5
width), when browsing the command history.
If you want to include control characters in the prompt that don't
contribute to the length you have to enclose them in \[ \]. The problem
is that \[ \] are processed before embedded command substitutions are
expanded, thus they cannot pro
d8a or
281baf7a702693deaa45c98ef0c5161006b48257. That will probably cause git
describe --contains to take a different path through the history.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completel
changed, is there
> any chance that this functionality could please be implemented?
The easiest way to implement that is to add a graft to redirect the
parent of the second commit to the inserted commit, then use git
filter-branch to make the graft permanent.
Andreas.
--
Andreas Schwab, sch...@li
x27;s ANSI-C quoting feature).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of
) == ULONG_MAX &&
> + errno == ERANGE) ||
You need to set errno = 0 before calling strtoul, to distinguish the
valid return of ULONG_MAX (which would keep errno intact) and a real
overflow.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53
Anatoly Borodin writes:
> It's not like `git diff X^2 X` is a big problem, but too much of a
> copypaste.
Brace expansion helps a bit: git diff X{^2,}
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
&
ntication. The
client won't know which authentication method to use until the server
tells it.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe
Karthik Nayak writes:
> + if ((( arg && len == arg - sp) ||
> +(!arg && len == ep - sp )) &&
len == (arg ? arg : ep) - sp &&
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint
> mkfifo in out
> (exec git cat-file --batch out) &
> exec 8>in
> exec 9 echo $sha >&8
> read mode type size <&9
coproc CAT_FILE git cat-file --batch
echo $sha >&${CAT_FILE[1]}
read mode type size <&${CAT_FILE[0]}
Andr
ked
out commit except by being pointed to by HEAD. Also, testing a
different commit as the one suggested by git can be useful when skipping
over commits that are known to fail for unrelated reasons (see "Avoiding
testing a commit" in git-bisect(1)).
Andreas.
--
Andreas Schwab, sch...@
1 - 100 of 330 matches
Mail list logo