git-repo/subcmds
Shawn O. Pearce 37dbf2bf0f Try to prevent 'repo sync' as a user name
When someone copies and pastes a setup line from a web page,
they might actually copy 'repo sync' onto the clipboard and wind
up pasting it into the "Your Name" prompt.  This means they will
initialize their client with the user name of "repo sync", creating
some rather funny looking commits later on.  For example:

  To setup your source tree:

    mkdir ~/code
    cd ~/code
    repo init -u git://....
    repo sync

If this entire block was just blindly copy and pasted into the
terminal, the shell won't read "repo sync" but "repo init" will.

By showing the user their full identity string, and asking them
to confirm it before we continue, we can give the hapless user a
chance to recover from this mistake, without unfairly harming those
who were actually named 'repo' by their parents.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-07-02 10:53:04 -07:00
..
__init__.py Initial Contribution 2008-10-21 07:00:00 -07:00
abandon.py Modify 'repo abandon' to be more like 'repo checkout' and 'repo start' 2009-04-18 15:15:24 -07:00
branches.py branches: Describe output format in repo help branches 2009-06-12 17:35:43 -07:00
checkout.py Improve checkout performance for the common unmodified case 2009-04-18 15:04:41 -07:00
diff.py Initial Contribution 2008-10-21 07:00:00 -07:00
download.py Teach repo how to download changes to the local checkout 2008-10-23 14:43:28 -07:00
forall.py Change project.revision to revisionExpr and revisionId 2009-05-29 18:45:20 -07:00
grep.py grep: Only use --color on git 1.6.3 and later 2009-06-12 09:33:48 -07:00
help.py Support a level 2 heading in help description text 2009-04-21 08:28:06 -07:00
init.py Try to prevent 'repo sync' as a user name 2009-07-02 10:53:04 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
prune.py Initial Contribution 2008-10-21 07:00:00 -07:00
selfupdate.py Clarify options that control the repo executable version 2009-04-18 11:28:57 -07:00
stage.py Only display project path in 'repo stage -i' 2009-04-18 11:22:13 -07:00
start.py Require a project or '--all' to be specified when using 'repo start'. 2009-04-22 18:05:50 -07:00
status.py Make 'repo status' show the branch you are currently on 2009-04-18 15:31:36 -07:00
sync.py sync: Keep the project.list file sorted 2009-06-04 20:41:26 -07:00
upload.py Automatically guess Gerrit change number in "repo upload --replace" 2009-05-05 15:01:18 -07:00
version.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00