On Thu, 21 Jul 2016, Jakub Narębski wrote:
> Or you can use third-party tools with support for such cases, such
Not if the repository is already managed by some other tool
(FusionForge, in this case).
Thanks anyway,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://ww
On Fri, 15 Jul 2016, Ævar Arnfjörð Bjarmason wrote:
> I.e. it allows pushing a series which is a series of two commits which:
>
> 1. Change the forbidden file(s)
> 2. Undo changes to the forbidden file(s)
That’s precisely allowed.
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4,
On Thu, 14 Jul 2016, Junio C Hamano wrote:
> Can't this become simpler, e.g.
>
> if ! git diff-tree --quiet "$old" "$new" -- "$subdir"
Thought about diff-tree, but additions are permitted,
and diffing the actual file content has overhead too.
Just counting the number of object hashes remo
On Thu, 14 Jul 2016, Stefan Beller wrote:
> go roughly like
Thanks, that did the trick!
Although I’m ordinarily loath to write GNU bash scripts, this
helps avoiding temporary files. This works:
-cutting here may damage your screen surface-
#!/bin/bash
export LC_ALL=C
subdir=x/y
while IF
Hi *,
is there a way, for example with some sort of pre-receive hook,
to prevent some files from being overwritten by a push?
Use case:
In some project, we use Flyway to manage the database schema,
and Jenkins to automatically build master’s HEAD after each
push (and install it, thus activating
Display the tag name about to be added to the user during interactive
editing.
Signed-off-by: Thorsten Glaser
Signed-off-by: Richard Hartmann
---
builtin/tag.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/builtin/tag.c b/builtin/tag.c
index 6c7c6bd..8a7265b
an if clause must not be empty; add a "colon" command
Signed-off-by: Thorsten Glaser
---
templates/hooks--pre-push.sample | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 15ab6d8..1f3bceb 100755
--- a/templ
Matthieu Moy dixit:
>An opt-in auto-detection would be cool for people who really work in a
>controlled environment, so that the sysadmin could enable it from
Sounds like a plan ;-)
I think with several people chiming in on this, while that proposal
would affect a majority of people, it would do
Jeff King dixit:
>It was not clear to me whether his site has /etc/mailname. If it does
Some may, some may not but…
>But from his description, the machine may even have a split-horizon name
>in /etc/mailname, and we can do nothing at all about that.
… that won’t happen. The problem is that they
Jonathan Nieder dixit:
>Can you say a little more about your setup? In a university
>environment with sysadmin-managed email and /etc/mailname set up
>correctly it is handy that people can start working without doing
Ah okay. We don’t have /etc/mailname set up I think and,
additionally, the Unix
Brandon Casey dixit:
>The number of threads that pack uses can be configured in the global
>or system gitconfig file by setting pack.threads.
[…]
>The other setting you should probably look at is pack.windowMemory
>which should help you control the amount of memory git uses while
>packing. Also l
Hi,
I’m asking here informally first, because my information relates
to a quite old version (the one from lenny-backports). A tl;dr
is at the end.
On a multi-core machine, the garbage collection of git, as well
as pack compression on the server side when someone clones a
repository remotely, the
12 matches
Mail list logo