Skip to content

Commit 70b3843

Browse files
authored
Merge pull request #270 from achilleas-k/metadata-status-print
[annex] Print progress of metadata writing
2 parents 4a7c8da + ddc3d12 commit 70b3843

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git/annex.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,8 +1005,12 @@ func AnnexAdd(filepaths []string, addchan chan<- RepoFileStatus) {
10051005
logstd(nil, stderr)
10061006
}
10071007
// Add metadata
1008+
status.State = "Writing filename metadata"
10081009
for _, fname := range filenames {
10091010
setAnnexMetadataName(fname)
1011+
status.FileName = fname
1012+
status.Progress = progcomplete
1013+
addchan <- status
10101014
}
10111015
return
10121016
}

0 commit comments

Comments
 (0)