Re: [PATCH] git=p4.py rebase now honor's client spec

2015-03-20 Thread Luke Diamand

On 19/03/15 21:58, brian m. carlson wrote:

On Thu, Mar 19, 2015 at 12:28:09PM +, Sam Bishop wrote:

When using the git-p4.py script, I found that if I used a client spec when
cloning out a perforce repository, and then using a git-p4.py rebase, that
the rebase command would be using the current perforce client spec,
instead of the one used when doing the initial clone. My proposed patch
causes the rebase command to switch to the perforce client spec used when
doing the initial git-p4.py clone.



That's very useful, thanks. I've noticed that behaviour in the past and 
always thought it ought to be fixed. As Brian notes, it needs a 
Signed-off line in the patch.


A very small nit: could you prefix the subject with git p4: so that 
it's consistent with other recent git-p4 changes - it makes it easier to 
pick them out when reviewing changes.


Could you run the git-p4 unit tests on it please (t/t98*)? I could be 
wrong about this, but it looks to me like t9806-git-p4-options.sh 
doesn't pass now with this change (*)


Thanks!
Luke

(*) There's at least one test that doesn't pass anyway, but this seems 
to be new.






--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] git=p4.py rebase now honor's client spec

2015-03-19 Thread Sam Bishop
When using the git-p4.py script, I found that if I used a client spec when
cloning out a perforce repository, and then using a git-p4.py rebase, that
the rebase command would be using the current perforce client spec,
instead of the one used when doing the initial clone. My proposed patch
causes the rebase command to switch to the perforce client spec used when
doing the initial git-p4.py clone.

This email and any attachments may contain confidential and proprietary 
information of Blackboard that is for the sole use of the intended recipient. 
If you are not the intended recipient, disclosure, copying, re-distribution or 
other use of any of this information is strictly prohibited. Please immediately 
notify the sender and delete this transmission if you received this email in 
error.


fix_git_p4_rebase.patch
Description: fix_git_p4_rebase.patch


Re: [PATCH] git=p4.py rebase now honor's client spec

2015-03-19 Thread brian m. carlson
On Thu, Mar 19, 2015 at 12:28:09PM +, Sam Bishop wrote:
 When using the git-p4.py script, I found that if I used a client spec when
 cloning out a perforce repository, and then using a git-p4.py rebase, that
 the rebase command would be using the current perforce client spec,
 instead of the one used when doing the initial clone. My proposed patch
 causes the rebase command to switch to the perforce client spec used when
 doing the initial git-p4.py clone.
 
 This email and any attachments may contain confidential and
 proprietary information of Blackboard that is for the sole use of the
 intended recipient. If you are not the intended recipient, disclosure,
 copying, re-distribution or other use of any of this information is
 strictly prohibited. Please immediately notify the sender and delete
 this transmission if you received this email in error.

You might want to read Documentation/SubmittingPatches for information
on patch submission procedures.  Most notably, you'll need to sign-off
your work to indicate that you can submit it under the appropriate
license.

The confidentiality notice above is not only inappropriate for a public
mailing list, it discourages people from even looking at your patch, as
you just claimed it was confidential and proprietary and nobody wants to
be sued.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187


signature.asc
Description: Digital signature