summaryrefslogtreecommitdiff
path: root/src/blob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.cpp')
-rw-r--r--src/blob.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/blob.cpp b/src/blob.cpp
index 285cd0b..bc1f485 100644
--- a/src/blob.cpp
+++ b/src/blob.cpp
@@ -39,11 +39,7 @@ GitFS::Blob::close(const ::Ice::Current & ice)
NetFS::Attr
GitFS::Blob::fgetattr(const ::Ice::Current &)
{
- NetFS::Attr attr;
- attr << *blob << *entry << *repo->commit;
- attr.gid = repo->gid;
- attr.uid = repo->uid;
- return attr;
+ return repo->getattr(entry.get(), blob.get());
}
NetFS::Buffer