-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Tried to track a file from within a subdirectory of a submodule and got a traceback. Tried the same command from the root of the submodule working directory and it succeded:
[bigstash]C:\Users\Konstantinos\code\deepfreeze.io\static\assetsPS>git lfs track compiler.jar
panic: Error trying to create objects directory in 'C:\Users\Konstantinos\code\deepfreeze.io\static\.git\modules\static\
lfs\objects': mkdir C:\Users\Konstantinos\code\deepfreeze.io\static\.git: The system cannot find the path specified.
goroutine 16 [running]:
runtime.panic(0x732f80, 0xc082000b10)
/opt/boxen/chgo/versions/1.3/src/pkg/runtime/panic.c:279 +0x11f
github.com/github/git-lfs/lfs.init┬╖2()
/Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/lfs/lfs.go:87 +0x3ea
github.com/github/git-lfs/lfs.init()
/Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/lfs/util.go:88 +0x4cb
github.com/github/git-lfs/commands.init()
/Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands_pre_push.go:129 +0xa5
main.init()
/Users/rick/github/git-lfs/cmd/git-lfs/git-lfs.go:9 +0x4d
goroutine 19 [finalizer wait]:
runtime.park(0x414b30, 0x9b4a38, 0x9b2ba9)
/opt/boxen/chgo/versions/1.3/src/pkg/runtime/proc.c:1369 +0xac
runtime.parkunlock(0x9b4a38, 0x9b2ba9)
/opt/boxen/chgo/versions/1.3/src/pkg/runtime/proc.c:1385 +0x42
runfinq()
/opt/boxen/chgo/versions/1.3/src/pkg/runtime/mgc0.c:2644 +0xdd
runtime.goexit()
/opt/boxen/chgo/versions/1.3/src/pkg/runtime/proc.c:1445
[bigstash]C:\Users\Konstantinos\code\deepfreeze.io\static\assetsPS>cat ..\.git
gitdir: ../.git/modules/static
[bigstash]C:\Users\Konstantinos\code\deepfreeze.io\static\assetsPS>cd ..
[bigstash]C:\Users\Konstantinos\code\deepfreeze.io\staticPS>git lfs track .\assets\compiler.jar
Tracking .\assets\compiler.jar
[bigstash +1 ~0 -0 !]C:\Users\Konstantinos\code\deepfreeze.io\staticPS>
Version is git-lfs/0.5.1 (GitHub; windows amd64; git 1.9.4.msysgit.0; go 1.3)
Reactions are currently unavailable