[Bug 1336230] [NEW] core.worktree misinterpreted by Git GUI
Martin Pecka
peci1 at seznam.cz
Tue Jul 1 10:56:06 UTC 2014
Public bug reported:
I have a "super-repository" tradr-simulation which contains several
subfolders. I wanted to share some of the subfolders through another Git
repository, so I created an "external subrepository" - the .git resides
above tradr-simulation in the filesystem, and in its config I've set
core.worktree to point to tradr-simulation (particularly worktree =
../../../tradr-ws/src/tradr-simulation ).
Now here's what's shown in CLI (CWD is the "external subrepo"):
--------------
D:\Programování\tradr-git\non-tradr-share\robot-model>git log
fatal: bad default revision 'HEAD'
D:\Programování\tradr-git\non-tradr-share\robot-model>git status
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
README
gazebo-test/
nifti_robot_description/
nifti_robot_gazebo/
vrep_ugv_simulation/
nothing added to commit but untracked files present (use "git add" to
track)
-------------
However, if I start Git GUI from the "external subrepo", it is somehow
misled to think I wanted it to show the "super-repository". In the
screenshot attached, you can see how Git GUI looks when called as:
D:\Programování\tradr-git\non-tradr-share\robot-model>git gui
The window title as well as the Unstaged changes correspond to those of
the "super-repo", even though I started Git GUI from the "external
subrepo" directory.
** Affects: git (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Git GUI called from the "external subrepo" directory with wrong interpretation of core.worktree"
https://bugs.launchpad.net/bugs/1336230/+attachment/4142967/+files/Clipboard01.jpg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1336230
Title:
core.worktree misinterpreted by Git GUI
Status in “git” package in Ubuntu:
New
Bug description:
I have a "super-repository" tradr-simulation which contains several
subfolders. I wanted to share some of the subfolders through another
Git repository, so I created an "external subrepository" - the .git
resides above tradr-simulation in the filesystem, and in its config
I've set core.worktree to point to tradr-simulation (particularly
worktree = ../../../tradr-ws/src/tradr-simulation ).
Now here's what's shown in CLI (CWD is the "external subrepo"):
--------------
D:\Programování\tradr-git\non-tradr-share\robot-model>git log
fatal: bad default revision 'HEAD'
D:\Programování\tradr-git\non-tradr-share\robot-model>git status
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
README
gazebo-test/
nifti_robot_description/
nifti_robot_gazebo/
vrep_ugv_simulation/
nothing added to commit but untracked files present (use "git add" to
track)
-------------
However, if I start Git GUI from the "external subrepo", it is somehow
misled to think I wanted it to show the "super-repository". In the
screenshot attached, you can see how Git GUI looks when called as:
D:\Programování\tradr-git\non-tradr-share\robot-model>git gui
The window title as well as the Unstaged changes correspond to those
of the "super-repo", even though I started Git GUI from the "external
subrepo" directory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1336230/+subscriptions
More information about the foundations-bugs
mailing list