! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
fatal: '<dir>' is outside repository - error due to symlink in git repository...
Status:
RESOLVED: FIXED
Product:
Thunar-vcs-plugin
Component:
General

Comments

Description Alexander 2010-04-26 09:20:51 CEST
To reproduce:
1. Access a git repository via a symlink, e.g in my case the real directory is 
   /workHD/git_origin/dceapp.master
and the symlink in /workHD is git --> git_origin

2. Right click on a file, select Git from the context menu, then Log.

3. A "Failed" error window appears with the message as follows: "fatal: '/workHD/git/dceapp.master/Makefile' is outside repository". The same operation accessed via the real path git_origin works.
Comment 1 Peter de Ridder editbugs 2010-08-03 18:13:00 CEST
Git didn't recognice that the full path provided points to the same location the git repository is in.
The full paths are now changed to relative paths.
This is fixed in commit 460cbe9.

Bug #6411

Reported by:
Alexander
Reported on: 2010-04-26
Last modified on: 2010-08-03

People

Assignee:
Peter de Ridder
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information