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

Re: What's cooking in git.git (Jan 2017, #04; Mon, 23)

From
Jeff King <peff@peff.net>
Date
Jan 25, 2017, 17:39 UTC
Message-ID
<20170125173958.pg546a6w33dirp5k@sigill.intra.peff.net>
In-Reply-To
<alpine.DEB.2.20.1701251800120.3469@virtualbox>
On Wed, Jan 25, 2017 at 06:01:11PM +0100, Johannes Schindelin wrote:
Show 6 quoted lines
> > Looks like "mv" prompts and then fails to move the file (so we get the
> > dangling blob for the source blob, and fsck doesn't report failure
> > because we didn't actually corrupt the destination blob).
> 
> IIRC I had similar problems years ago, on a machine where the
> administrator defined mandatory aliases, including mv="mv -i".

Yeah, that was my first thought, too. But this should be a non-interactive shell, which would generally avoid loading rc files. I think there are some exceptions, though (e.g., setting ENV or BASH_ENV). Loading aliases like "mv -i" for non-interactive shells seems somewhat insane to me. But whatever the cause, I think the workaround I posted is easy enough to do.

-Peff
Previous: Johannes SchindelinNext: Junio C Hamano
Message 6 of 15 in “What's cooking in git.git (Jan 2017, #04; Mon, 23)”
  1. Junio C HamanoJan 24, 2017
  2. Lars SchneiderJan 24, 2017
  3. Jeff KingJan 24, 2017
  4. Lars SchneiderJan 24, 2017
  5. Johannes SchindelinJan 25, 2017
  6. Jeff KingJan 25, 2017
  7. Junio C HamanoJan 25, 2017
  8. Jeff KingJan 25, 2017
  9. Junio C HamanoJan 25, 2017
  10. Lars SchneiderJan 26, 2017
  11. Lars SchneiderJan 26, 2017
  12. Jeff KingJan 26, 2017
  13. Junio C HamanoJan 26, 2017
  14. Stefan BellerJan 25, 2017
  15. Junio C HamanoJan 25, 2017

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.