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

Re: [PATCH] disable grafts during fetch/push/bundle

From
Philip Oakley <philipoakley@iee.org>
Date
Mar 6, 2014, 23:39 UTC
Message-ID
<06EAF31C54FB49E5951781E637A79F04@PhilipOakley>
In-Reply-To
<531904E1.6010606@alum.mit.edu>
From: "Michael Haggerty" <mhagger@alum.mit.edu>
Show 29 quoted lines
> On 03/07/2014 12:01 AM, Philip Oakley wrote:
>> From: "Jeff King" <peff@peff.net>
>>> On Thu, Mar 06, 2014 at 05:41:27PM +0100, Michael Haggerty wrote:
>>>
>>>> > We can wrap that in "git replace --convert-grafts", but I do not 
>>>> >  >
>>>> think
>>>> > grafts are so common that there would be a big demand for it.
>>>>
>>>> It's probably easier to wrap it than to explain to Windows users 
>>>> what
>>>> they have to do.
>>>
>>> How would Windows users get a graft file in the first-place? There's 
>>> no
>>> GUI for it! ;)
>>
>> Now, now... It's dead easy using the git-gui and Notepad++, you can 
>> see
>> and confirm the sha1's, copy and paste, and the graft file is a very
>> easy format, so even wimps (windows, icons, menus, pointers aka 
>> mouse)
>> folks can do it. (It worked for me when I needed it ;-)
>
> I didn't mean to insult all Windows users in general.  I was only
> referring to the fact that since the default Windows command line is 
> not
> a POSIX shell, even an experienced Windows user might have trouble
> figuring out how to execute a shell loop.

I'd missed that aspect about the shell loop. I was mainly pointing out current awkwardness of creating the replace object, relative to grafts - There was an initial attempt by Christian, but it became quite hard to make it robust to sha1's embedded in commit messages.

Show 12 quoted lines
>      Putting this functionality in
> a git command or script, by contrast, would make it work universally, 
> no
> fuss, no muss.
>
> Michael
>
> -- 
> Michael Haggerty
> mhagger@alum.mit.edu
> http://softwareswirl.blogspot.com/
> 
Previous: Jeff KingNext: Eric Sunshine
Message 29 of 35 in “disable grafts during fetch/push/bundle”
  1. disable grafts during fetch/push/bundleJeff King, Mar 4, 2014
  2. Junio C HamanoMar 4, 2014
  3. Jeff KingMar 5, 2014
  4. Junio C HamanoMar 5, 2014
  5. Jeff KingMar 5, 2014
  6. Junio C HamanoMar 5, 2014
  7. Jeff KingMar 5, 2014
  8. Junio C HamanoMar 5, 2014
  9. Michael HaggertyMar 6, 2014
  10. Christian CouderMar 6, 2014
  11. Jeff KingMar 6, 2014
  12. Michael HaggertyMar 6, 2014
  13. Jeff KingMar 6, 2014
  14. 1/4 replace: refactor command-mode determinationJeff King, Mar 6, 2014
  15. 2/4 replace: use OPT_CMDMODE to handle modesJeff King, Mar 6, 2014
  16. 3/4 replace: factor object resolution out of replace_objectJeff King, Mar 6, 2014
  17. 4/4 replace: add --edit optionJeff King, Mar 6, 2014
  18. Eric SunshineMar 7, 2014
  19. Jeff KingMar 7, 2014
  20. Junio C HamanoMar 6, 2014
  21. Jeff KingMar 6, 2014
  22. Philip OakleyMar 6, 2014
  23. Michael HaggertyMar 6, 2014
  24. Junio C HamanoMar 6, 2014
  25. Christian CouderMar 7, 2014
  26. Jeff KingMar 7, 2014
  27. Junio C HamanoMar 19, 2014
  28. Jeff KingMar 21, 2014
  29. Philip OakleyMar 6, 2014
  30. Eric SunshineMar 4, 2014
  31. Jeff KingMar 5, 2014
  32. Eric SunshineMar 5, 2014
  33. Jeff KingMar 5, 2014
  34. Eric SunshineMar 5, 2014
  35. Jeff KingMar 6, 2014

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.