Skip to content

use_git() has a suboptimal dependence on the "active project" #2159

@mine-cetinkaya-rundel

Description

@mine-cetinkaya-rundel

I've created a new folder in Positron (labeled 1 in the screenshot below) and later decided to make it a repo with use_git(). usethis reports my user directory as the active folder (2) (presumably because there is no indicator in this folder like a .Rproj, .vscode, .git, etc.). But then it also reports the paths of files in my home directory incorrectly. (3)

Image

Here is the path to the dotfile marked 3 in the screenshot.

• [Desktop/teaching/Duke/sta199-f25/ideas/.anyconnect](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html#)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gitgit, GitHub, and CI in general

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions