Replies: 6 comments 11 replies
-
Alternatively can I git co-locate, run gradle, and undo the git co-locate? Is that easy / non-destructive or would that be a nuisance somehow? |
Beta Was this translation helpful? Give feedback.
-
I find this interesting! it used to work as a "real" git directory, and that is even advertised in the docs: https://jj-vcs.github.io/jj/latest/github/#using-github-cli but now
Very interesting! EDIT: when I tested this, i wasn't using the git backend, so |
Beta Was this translation helpful? Give feedback.
-
It should be a real Git repository. The file The other likely value is "git", which means |
Beta Was this translation helpful? Give feedback.
-
Perhaps the best thing that I can do is clone this off to the side and point the nebula plugin at it? 🤔 |
Beta Was this translation helpful? Give feedback.
-
Do you just need |
Beta Was this translation helpful? Give feedback.
-
For the record, my programmatic way of finding the git dir from a jj workspace. This may be incomplete or just plain wrong:
I have only tested the 2 scenarios I have lying around (a colocated jj repo, and a workspace of that repo). This makes me think it would be nice to have |
Beta Was this translation helpful? Give feedback.
-
The nebula gradle plugin requires the project you're working in to have a git root. It goes and does git-y things to figure out what release to push next based off the git tags.
Thankfully it allows you to specify a
-Pgit.root=some/dir
, but I'm not sure whether jj maintains a git dir (the.git/
dir in mostgit clone
-d projects), and if so where to find it.I did try
find . | grep git
and came up with.jj/repo/store/git
, but that didn't work:I also tried
ln -s .jj/repo/store/git .jj/repo/store/.git && gw installDist -Pgit.root=.jj/repo/store/
just in case it was looking for a.git/
specifically, and no dice. :)Looking at a real
.git/
and jj's.jj/repo/store/git/
I do see differences:So, I guess that folder is probably not what I'm looking for.
tldr
Is there a real
.git/
folder somewhere in.jj/
? If so, where?Beta Was this translation helpful? Give feedback.
All reactions