examples/hooks/pre-commit: Improve handling of first metastore commit.
commit95921e7ad884f4b7c19ce6f716e452f41dbf18c9
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>
Tue, 19 Jan 2016 22:32:49 +0000 (19 23:32 +0100)
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>
Tue, 19 Jan 2016 22:32:49 +0000 (19 23:32 +0100)
tree64216478851185edeba1f91d8095b982f61aff0d
parent10f95bf8b1eb81ae8730487db2c9c53139481a17
examples/hooks/pre-commit: Improve handling of first metastore commit.

Previously after first metastore commit, metastore -c would show

    ./.metadata: added

which was misleading.

Now metastore -s is run twice if .metadata is not in repository yet.
examples/hooks/pre-commit