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

[RFC PATCH 2/3] git p4: update name in script

From
PWPete Wyckoff <pw@padd.com>
Date
Feb 12, 2012, 18:13 UTC
Message-ID
<1329070423-23761-3-git-send-email-pw@padd.com>
In-Reply-To
<1329070423-23761-1-git-send-email-pw@padd.com>
In messages to the user and comments, change "git-p4" to "git p4".
Signed-off-by: Pete Wyckoff <pw@padd.com>
---
 git-p4.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/git-p4.py b/git-p4.py
index a78d9c5..1e27d70 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -988,12 +988,12 @@ class P4Submit(Command, P4UserMap):
                     print "The following files should be scheduled for deletion with p4 delete:"
                     print " ".join(filesToDelete)
                 die("Please resolve and submit the conflict manually and "
-                    + "continue afterwards with git-p4 submit --continue")
+                    + "continue afterwards with git p4 submit --continue")
             elif response == "w":
                 system(diffcmd + " > patch.txt")
                 print "Patch saved to patch.txt in %s !" % self.clientPath
                 die("Please resolve and submit the conflict manually and "
-                    "continue afterwards with git-p4 submit --continue")
+                    "continue afterwards with git p4 submit --continue")
 
         system(applyPatchCmd)
 
@@ -1037,8 +1037,8 @@ class P4Submit(Command, P4UserMap):
 
             if self.checkAuthorship and not self.p4UserIsMe(p4User):
                 submitTemplate += "######## git author %s does not match your p4 account.\n" % gitEmail
-                submitTemplate += "######## Use git-p4 option --preserve-user to modify authorship\n"
-                submitTemplate += "######## Use git-p4 config git-p4.skipUserNameCheck hides this message.\n"
+                submitTemplate += "######## Use option --preserve-user to modify authorship.\n"
+                submitTemplate += "######## Variable git-p4.skipUserNameCheck hides this message.\n"
 
             separatorLine = "######## everything below this line is just the diff #######\n"
 
@@ -2106,7 +2106,7 @@ class P4Sync(Command, P4UserMap):
 
         details["change"] = newestRevision
 
-        # Use time from top-most change so that all git-p4 clones of
+        # Use time from top-most change so that all git p4 clones of
         # the same p4 repo have the same commit SHA1s.
         res = p4CmdList("describe -s %d" % newestRevision)
         newestTime = None
@@ -2349,8 +2349,8 @@ class P4Sync(Command, P4UserMap):
 
                 changes.sort()
             else:
-                # catch "git-p4 sync" with no new branches, in a repo that
-                # does not have any existing git-p4 branches
+                # catch "git p4 sync" with no new branches, in a repo that
+                # does not have any existing p4 branches
                 if len(args) == 0 and not self.p4BranchesInGit:
                     die("No remote p4 branches.  Perhaps you never did \"git p4 clone\" in here.");
                 if self.verbose:
-- 
1.7.9.192.ga1d4b
Previous: Pete WyckoffNext: Pete Wyckoff
Message 3 of 16 in “git-p4: move to toplevel”
  1. 0/3 git-p4: move to toplevelPete Wyckoff, Feb 12, 2012
  2. 1/3 git-p4: move to toplevelPete Wyckoff, Feb 12, 2012
  3. 2/3 git p4: update name in scriptPete Wyckoff, Feb 12, 2012
  4. 3/3 git p4: use "git p4" directly in testsPete Wyckoff, Feb 12, 2012
  5. Luke DiamandFeb 12, 2012
  6. Junio C HamanoFeb 13, 2012
  7. Pete WyckoffFeb 13, 2012
  8. Junio C HamanoFeb 13, 2012
  9. Clemens BuchacherFeb 13, 2012
  10. Junio C HamanoFeb 13, 2012
  11. Pete WyckoffFeb 13, 2012
  12. Clemens BuchacherFeb 14, 2012
  13. Junio C HamanoFeb 14, 2012
  14. Jeff KingFeb 14, 2012
  15. Junio C HamanoFeb 14, 2012
  16. Clemens BuchacherFeb 14, 2012

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.