From c93d4a0226ba90c7ab5beec27b0bba1e13c4c7d1 Mon Sep 17 00:00:00 2001 From: Derek Smart Date: Thu, 10 Oct 2019 10:50:06 -0700 Subject: [PATCH] titan commit IDs should be easier to copy and paste (#62) Fixes #58 --- src/main/kotlin/io/titandata/titan/providers/local/Commit.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/titandata/titan/providers/local/Commit.kt b/src/main/kotlin/io/titandata/titan/providers/local/Commit.kt index 39705b6a..9572d8bb 100644 --- a/src/main/kotlin/io/titandata/titan/providers/local/Commit.kt +++ b/src/main/kotlin/io/titandata/titan/providers/local/Commit.kt @@ -14,7 +14,7 @@ class Commit ( private val email: String, private val repositoriesApi: RepositoriesApi = RepositoriesApi(), private val commitsApi: CommitsApi = CommitsApi(), - private val uuid: String = UUID.randomUUID().toString() + private val uuid: String = UUID.randomUUID().toString().replace("-","") ) { fun commit(container: String, message: String) { val repoMetadata = repositoriesApi.getRepository(container).properties