Skip to content

Support tramp connections (e.g. log in with another user and run git grep though it) #48

@clemente

Description

@clemente

I sometimes log in to my localhost through another user, with tramp.
For instance, (find-file "/su:user2@:/home/user2/").
Then I go a a git repository inside that folder, and want to use helm-git-grep there.

Currently it doesn't work: it tries to run git grep with my main user, not with user2. It should do the su user2 first and run git grep as user2.

Tested in:

;; Version: 0.10.1
;; Package-Version: 20170614.1411

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2022-10-28`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions