New flag (and trailer) for git-quiltimport.sh and git format-patch

2015-07-18 Thread Spencer Baugh
Hi git list, I think it would be useful if git-quiltimport.sh recognized a flag to tell it to add a QuiltFilename: or PatchFilename: trailer to each imported commit, which would show the filename of the patch that that commit was imported from. This would make it much easier (reliably possible,

Re: [PATCH] checkout: don't check worktrees when not necessary

2015-06-10 Thread Spencer Baugh
Duy Nguyen pclo...@gmail.com writes: On Sun, May 31, 2015 at 07:16:29PM -0400, Spencer Baugh wrote: --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -1237,6 +1237,7 @@ static int parse_branchname_arg(int argc, const char **argv, char *head_ref = resolve_refdup(HEAD, 0

[PATCH] checkout: don't check worktrees when not necessary

2015-05-31 Thread Spencer Baugh
When --patch or pathspecs are passed to git checkout, the working tree will not be switching branch, so there's no need to check if the branch that we are running checkout on is already checked out. Signed-off-by: Spencer Baugh sba...@catern.com --- builtin/checkout.c | 1 + 1 file changed, 1