GithubHelp home page GithubHelp logo

Comments (7)

kamulos avatar kamulos commented on August 29, 2024 1

This would be quite nice if supported. Just out of curiosity I used --ref-format=reftable when cloning some repos, but my starship prompt cannot show most information about the repo (for example which branch I am on).

from gitoxide.

KarthikNayak avatar KarthikNayak commented on August 29, 2024

FYI this is now merged into v2.45.0 https://gitlab.com/git-vcs/git/-/blob/v2.45.1/Documentation/RelNotes/2.45.0.txt?ref_type=tags#L8

from gitoxide.

Byron avatar Byron commented on August 29, 2024

Thanks for the heads-up! It will definitely take a while until this becomes priority, as it will only really be needed when gitoxide gets to the server side.

from gitoxide.

KarthikNayak avatar KarthikNayak commented on August 29, 2024

Thanks for the heads-up! It will definitely take a while until this becomes priority, as it will only really be needed when gitoxide gets to the server side.

Reftables can be used on the client side too. Like @kamulos mentioned, clients like starship would already break.

from gitoxide.

Byron avatar Byron commented on August 29, 2024

I am quite aware - however, those most interested would be servers, or users with huge monorepos. The latter are probably missing more features than just ref-table at the moment, so it will take a while. Ordinary use-cases don't have benefits switching to ref-table, as it makes the ref-database more obscure.

from gitoxide.

KarthikNayak avatar KarthikNayak commented on August 29, 2024

Yup, that I agree with. There is also talks about making it default a lot later, something to keep an eye out for https://lore.kernel.org/git/84c01f1b0a2d24d7de912606f548623601c0d715.1716555034.git.ps@pks.im/

from gitoxide.

Byron avatar Byron commented on August 29, 2024

Thanks! Please keep me posted about this. I definitely hope they won't make it default anytime soon, that would force my hand 😅.
Thinking about it - the ton of Git libraries out there would all have to struggle to get that implemented, so my feeling is they will just keep what's working well by now.

from gitoxide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.