adjust: Fix behavior when used in a repository that contains submodules.
Also fixed the LsFiles parser to not assume its output has a fixed width type field.
This commit is contained in:
parent
5169f84f22
commit
a13c0ce66c
5 changed files with 43 additions and 8 deletions
|
|
@ -54,3 +54,4 @@ operating system: linux x86_64
|
|||
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
||||
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2017-02-20T17:13:54Z"
|
||||
content="""
|
||||
Error message is:
|
||||
|
||||
git-annex: unexpected object type "comm"
|
||||
|
||||
What it's actually choking on is the "commit" object for the submodule,
|
||||
in git-ls-tree output. Doesn't matter if the submodule uses
|
||||
adjusted branches or not.
|
||||
|
||||
The parser for ls-tree output is buggy;
|
||||
it's expecting only "blob" and "tree", so pulls out a fixed width 4
|
||||
characters: "comm"
|
||||
|
||||
Also, the adjusted branch code needs to be made to skip over CommitObjects,
|
||||
once the parser is fixed to generate them.
|
||||
"""]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue