Thread (18 messages) 18 messages, 5 authors, 2023-12-12

Re: [PATCH] setup: recognize bare repositories with packed-refs

From: Adam Majer <hidden>
Date: 2023-11-28 14:15:01

On 11/27/23 20:44, Josh Steadmon wrote:> Two suggestions for the test here:
1) Can you give the test a more descriptive name, such as "GCed bare 
repos still recognized"?
Thanks, adjusted. I've also added that empty refs/ directory is not there.
2) Can you add a check that bare.git/packed-refs exists?
Done.

I've also removed the -C parameter since we actually need GIT_DIR= in
all cases to prevent git from going up directory tree. -C is then
superflous. In addition, I've changed the hardcoded object id to master
branch to make it less magical looking.

- Adam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help