emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Fast linking to files in private git repos through a hyperlink


From: Bastien
Subject: Re: [O] Fast linking to files in private git repos through a hyperlink
Date: Thu, 26 Apr 2012 16:00:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Hi Dov,

Dov Grobgeld <address@hidden> writes:

> Thanks for the link. I wasn't aware of that package. I see that I
> have a conflict in syntax as I used double colon for indicating the
> git repo while org-git-link.el used double colon for search pattern.

The double colon is standard in Org for indicating the search pattern, 
please use it this way too.

> Thus to join the packages I need to change the syntax. Which of the
> following would make more sense:
>
>    git:@repo:file-in-repo::pattern-in-file
>    git://repo/file-in-repo::pattern-in-file
>
> or perhaps some other syntax? Suggestions?

git:address@hidden:[git-repo-itself]::[search-pattern]

When user is set, the repo-server URL won't have a protocol 
(git will be used by default as a protocol.)

When user is not set, the repo-server may contain git:// or
http:// as the protocol.

But I didn't test your packing, so I'm maybe shooting in the
dark for this syntax suggestion.

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]