Re: A few questions regarding git annotated tags

2019-01-10 Thread Michal Novotny
Hey Jeff! On Sun, Jan 6, 2019 at 7:50 AM Jeff King wrote: > > On Sat, Jan 05, 2019 at 04:50:30PM +0100, Michal Novotny wrote: > > > I could potentially make it so that I tag subtrees instead of commits > > and then derive the needed information from these subtree tags. Thi

A few questions regarding git annotated tags

2019-01-05 Thread Michal Novotny
;t want to miss something obvious or less obvious. Thank you Michal Novotny

Re: with git 1.8.3.1 get only merged tags

2018-09-14 Thread Michal Novotny
On Thu, Sep 13, 2018 at 1:27 PM Ævar Arnfjörð Bjarmason wrote: > > > On Tue, Sep 11 2018, Michal Novotny wrote: > > > I need to emulate git tag --merged with very old git 1.8.3.1. Is that > > somehow possible? > > I am looking for a bash function that would take w

Re: with git 1.8.3.1 get only merged tags

2018-09-13 Thread Michal Novotny
On Tue, Sep 11, 2018 at 9:05 PM Jeff King wrote: > > On Tue, Sep 11, 2018 at 12:43:15PM +0200, Michal Novotny wrote: > > > I need to emulate git tag --merged with very old git 1.8.3.1. Is that > > somehow possible? > > I am looking for a bash function that would take

with git 1.8.3.1 get only merged tags

2018-09-11 Thread Michal Novotny
Hello, I need to emulate git tag --merged with very old git 1.8.3.1. Is that somehow possible? I am looking for a bash function that would take what git 1.8.3.1 offers and return only the tags accessible from the current branch tip. Could you, please, give me at least a hint how this could be done

getting pull and push URLs for the current branch

2018-04-08 Thread Michal Novotny
Hello, is there a way to get remote url for the current branch? That is the url that will be used when I call `git pull`. It doesn't seem to be a particularly easy task. Thank you! clime

get commit ID from a tree object ID

2018-03-17 Thread Michal Novotny
Hello, let's say I have made an annotated tag on a certain treeish: $ git tag -a -m msg tagname HEAD: Now, I can try to see the content of the tag: $ git tag -v tagname object 42a1c36553a50ceae2f75ffc4b1446c6c393eae7 type tree tag tagname tagger clime 1521288727 +0100 msg error: no signature

Re: allow "~" to be present in a tag name

2018-03-13 Thread Michal Novotny
On Tue, Mar 13, 2018 at 11:09 AM, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Mar 13 2018, Michal Novotny jotted: > >> On Tue, Mar 13, 2018 at 10:07 AM, Ævar Arnfjörð Bjarmason >> wrote: >>> >>> On Tue, Mar 13 2018, Michal Novotny jotted: >>> >&

Re: allow "~" to be present in a tag name

2018-03-13 Thread Michal Novotny
On Tue, Mar 13, 2018 at 10:07 AM, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Mar 13 2018, Michal Novotny jotted: > >> Hello, >> >> currently, if I try to create a tag that has tilde "~" in name, an >> error is raised. E.g. >> >> $ git tag r

allow "~" to be present in a tag name

2018-03-13 Thread Michal Novotny
Hello, currently, if I try to create a tag that has tilde "~" in name, an error is raised. E.g. $ git tag rpkg-util-1.4~rc1 fatal: 'rpkg-util-1.4~rc1' is not a valid tag name. Now, actually it would be very cool if tilde was allowed in a tag name because we would like to use it for tagging pre-

Re: [PATCH v2] git-tag: Allow --points-at syntax to create a tag pointing to specified commit

2013-03-14 Thread Michal Novotny
On 03/14/2013 02:36 PM, John Keeping wrote: > On Thu, Mar 14, 2013 at 01:34:54PM +0100, Michal Novotny wrote: >> This patch adds the option to specify SHA-1 commit hash using --points-at >> option of git tag to create a tag pointing to a historical commit. > What does thi

[PATCH v2] git-tag: Allow --points-at syntax to create a tag pointing to specified commit

2013-03-14 Thread Michal Novotny
k has been removed as it's not required and I accidentally forgot to remove it before posting v1 Michal Signed-off-by: Michal Novotny --- builtin/tag.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c ind

[PATCH] git-tag: Allow --points-at syntax to create a tag pointing to specified commit

2013-03-14 Thread Michal Novotny
not possible for signed and annotated commits. It's been tested for all of the tag types mentioned - lightweight tags, signed tags and also annotated tags and everything is working fine in all scenarios. Michal Signed-off-by: Michal Novotny --- builtin/tag.c

Re: [PATCH] daemon: --access-hook option

2012-08-21 Thread Michal Novotny
c int run_service(char *dir, struct daemon_service > *service) > } > > /* > + * Optionally, a hook can choose to deny access to the > + * repository depending on the phase of the moon. > + */ > + if (access_hook && run_access_hook(service, dir, pa

[PATCH] Implement ACL module architecture and sample MySQL ACL module

2012-08-14 Thread Michal Novotny
l and cloning the existing repository on the second terminal with testing all possible options in the database (using the sample MySQL module) and everything was working fine. Thanks, Michal Signed-off-by: Michal Novotny --- Makefile | 1 + daemon.c

[PATCH] gitweb: Add option to limit repositories to be shown by ServerName

2012-08-14 Thread Michal Novotny
will preserve the old behaviour. Hope this will help, at least it did help me on my test server. Any feedback appreciated! Thanks, Michal Signed-off-by: Michal Novotny --- gitweb/gitweb.perl | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --