Skip to content

Commit

Permalink
Merge pull request #8 from giucam/master
Browse files Browse the repository at this point in the history
Fix vault initialization
  • Loading branch information
giucam committed Aug 5, 2014
2 parents f4ba2a8 + 855608f commit 9addd48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vault.cpp
Expand Up @@ -219,7 +219,7 @@ void Vault::init_(const QVariantMap &config)
};

auto excludeServiceFiles = [this]() {
auto path = os::path::join(m_path, ".git/info/exclude");
auto path = ".git/info/exclude";
if (!writeFile(path, ".vault.*\n.units/"))
error::raise({{"msg", "Can't write exclude info"}, {"path", path}});
};
Expand Down
2 changes: 1 addition & 1 deletion src/vault_config.cpp
Expand Up @@ -187,7 +187,7 @@ QString Config::root() const


Vault::Vault(Gittin::Repo *vcs)
: m_config(os::path::canonical(units_path(vcs->path())))
: m_config(units_path(vcs->path()))
, m_vcs(vcs)
{

Expand Down

0 comments on commit 9addd48

Please sign in to comment.