git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What will happen to git.git in the near future

From
Petr Baudis <pasky@suse.cz>
Date
Sep 24, 2006, 11:04 UTC
Message-ID
<20060924110429.GJ20017@pasky.or.cz>
In-Reply-To
<7v7iztbldm.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Sun, Sep 24, 2006 at 12:37:57PM CEST, I got a letter where Junio C Hamano <junkio@cox.net> said that...

>  - git-resolve is deprecated on "master" and will continue to be
>    so until 1.4.3.  We will remove it before 1.4.4 happens.
Woo-hoo!
Show 9 quoted lines
>  - We should deprecate git-tar-tree.  However, it has been
>    around and advertised for quite some time, so we need to make
>    sure people would not get burned too badly.  It might be
>    worthwhile to rewrite git-tar-tree as a thin wrapper to
>    "git-archive --format=tar" and remove git-upload-tar now (in
>    other words, "git-tar-tree --remote" will continue to work,
>    but it will talk with "git-upload-archive", not with
>    "git-upload-tar" on the other end), release 1.4.3 with it
>    with a deprecation warning, and then remove it in 1.4.5.

I believe this is way too rushed, please consider keeping git-tar-tree as the thin wrapper _much_ longer.

We still have ssh-pull and ssh-push around after more than a year of their deprecation. (BTW, we might as well consider removing those. ;)

Show 8 quoted lines
>  - packed-refs still has a few issues before it can hit
>    "master". 
> 
>    - deleting branches does not really work yet, as there have
>      been some discussions on the list.
> 
>    - dumb transports are unaware of it.  Trying to fetch a
>      ref that is packed would not work.
This is a big problem.
>    I feel this series to be a significant enough change that
>    deserve a bit careful handling.  Perhaps in 1.4.4 release.

I agree, there are some subtle changes there (like the heads ordering) that could cause unforeseen problems, better be careful about it.

>  - Git.pm lost Git.xs which hopefully would make it a bit easier
>    to work for wider audiences.  Hopefully we can push it out to
>    "master" soon and see if anybody screams.  Depending on what
>    happens, it may be in 1.4.3 release.
Woo-hoo!
>  - git-show-ref and git-for-each-ref serve similar purpose (when
>    viewed in a bigger picture) but with different interface and
>    different set of features.  We should consolidate them into
>    one command before they hit in any released version.

Do I understand it correctly that those are the only interfaces for scripts to access packed refs?

Ideally there would be some transition period provided so that I can teach Cogito about them without having it broken for repositories with packed refs for some time. But since packing refs is optional and explicit action, perhaps it's not so critical.

Still, I looked forward for having those tools in the next release so that Cogito can use them. Oh well. :)

Show 6 quoted lines
>    Implementing "buffer-wide AND" will involve updating git-grep
>    but as a side effect we will also be able to say "find files
>    that have word A and B in them", which would be a useful
>    thing.  I'd push the current implementation out to "master"
>    soon and release 1.4.3 with it, and defer implementation of
>    the buffer-wide AND to a later version.

Yes. Those options are cool as they are and they can speed up gitweb's search as well as cg-log -u.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
Previous: Junio C HamanoNext: Rene Scharfe
Message 2 of 13 in “What will happen to git.git in the near future”
  1. Junio C HamanoSep 24, 2006
  2. Petr BaudisSep 24, 2006
  3. Rene ScharfeSep 24, 2006
  4. Johannes SchindelinSep 24, 2006
  5. A Large Angry SCMSep 24, 2006
  6. Junio C HamanoOct 1, 2006
  7. Linus TorvaldsOct 1, 2006
  8. Junio C HamanoOct 1, 2006
  9. Linus TorvaldsOct 1, 2006
  10. Johannes SchindelinOct 1, 2006
  11. Linus TorvaldsOct 1, 2006
  12. Johannes SchindelinOct 1, 2006
  13. Linus TorvaldsOct 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.