Commit 7bcb2ecfc09de529ad7b240ac847222205ea9a4a

Stefan Sperling 2019-03-11T20:24:21

move worktree base refs into a subdirectory

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/got_lib_worktree.h b/lib/got_lib_worktree.h
index 867714c..9bfa860 100644
--- a/lib/got_lib_worktree.h
+++ b/lib/got_lib_worktree.h
@@ -48,7 +48,7 @@ struct got_worktree {
 #define GOT_WORKTREE_FORMAT_VERSION	1
 #define GOT_WORKTREE_INVALID_COMMIT_ID	GOT_SHA1_STRING_ZERO
 
-#define GOT_WORKTREE_BASE_REF_PREFIX "got/worktree-base"
+#define GOT_WORKTREE_BASE_REF_PREFIX "got/worktree/base"
 
 const struct got_error *got_worktree_get_base_ref_name(char **,
     struct got_worktree *worktree);