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

Re: [PATCH] git-send-pack: Fix --all option when used with directory

From
Stanislav Kolotinskiy <stanislav@assembla.com>
Date
Mar 24, 2016, 13:57 UTC
Message-ID
<56F3F267.30900@assembla.com>
In-Reply-To
<20160323212213.GA19920@sigill.intra.peff.net>
On 23/03/16 23:22, Jeff King wrote:
Show 5 quoted lines
> Not that it matters for this bug, but for my own curiosity, what do you
> use "send-pack --all" for? I've generally assumed that nobody directly
> calls send-pack themselves these days, but of course we have no data to
> support that either way. So I am always interested to hear about unusual
> use cases.

Well, here at Assembla we're using send-pack --all for creating forks from repos in a quick and efficient way.

> The tests are roughly grouped by functionality. send-pack tests are in
> the t540x range, and this should probably go there. Though I also
> suspect it could easily be added to the end of an existing test script,
> which is preferable.

I'm not really comfortable (yet) with git tests, so thanks for pointing to that. I did see t5400, but thought that bug fixes should bring their own, separate, test files. Also, thanks for all the explanations and for the adaptation of my test to a way better version!

I'm going to update the patch and will send another version. Thanks again!

-- Regards, Stanislav

Previous: Jeff KingNext: Jeff King
Message 4 of 10 in “git-send-pack: Fix --all option when used with directory”
  1. git-send-pack: Fix --all option when used with directoryStanislav Kolotinskiy, Mar 23, 2016
  2. Jeff KingMar 23, 2016
  3. Jeff KingMar 23, 2016
  4. Stanislav KolotinskiyMar 24, 2016
  5. Jeff KingMar 24, 2016
  6. Stanislav KolotinskiyMar 24, 2016
  7. Junio C HamanoMar 24, 2016
  8. Stanislav KolotinskiyMar 24, 2016
  9. Jeff KingMar 24, 2016
  10. Stanislav KolotinskiyApr 1, 2016

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.