Closed VasilisManol closed 5 months ago
When the current root of the displayed tree is a git repository and you select it, the current value is an empty string. Wouldn't it be more useful to have .
instead ?
Similar question when the current root is the parent of a git repository and you select it: the current value is the path to that directory. I think a value of .
would be better too.
For my use case I would like it to work as {file}
does, unless into a git repo where I want the relative path. I define it in a shortcut to be able to get references to a file:line and then send it to colleagues. Therefore, it is convenient to be relative to git root. For all the other cases I want it to be like {file}
. What would be the use case, where I would like to get a .
? I can't think of any.
So my preferences for your questions would be the same, get the full path to the directory. ( same as {file}
).
This will be included in the next release, hopefully this week-end
implements #838