Hi Cameron,

Do you have a use case for this? I ask because the upstream folks may be expecting that the likes of `diff` would be the way to go for com paring what they would expect to be almost identical files...

As a side note the upstream git folks are looking at splitting the 'checkout' functionality (IIRC) between the treeish and the file-wise things because the checkout command has become unwieldy (but it won't be going away..)

So it (--prefix) may be a valid use case suggestion for an easy project for the various folks who come along looking for projects (Outreachy and GSOC, etc.)

Have a look at the devs mailing list archive https://public-inbox.org/git/?q=GSOC (adjust your search to taste)

Philip

On 14/04/2019 12:57, Cameron Boehmer wrote:
I've found myself wanting to checkout paths from another branch w/o overwriting the same paths in my current branch. I was hoping to find this functionality in `checkout`, but, alas, no `--prefix` argument, like `checkout-index`'s, exists.

I suppose I could do the standard checkout, move the checked-out paths somewhere temporary, and then reset the paths in question, but I'd love to discover I don't have to write my own script to do this.

Any ideas?

Thanks,
Cameron
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com <mailto:git-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to