summaryrefslogtreecommitdiffstats
path: root/tools/git
Commit message (Collapse)AuthorAgeFilesLines
* Fix python scripts in src/tools/maruel@chromium.org2011-11-291-1/+1
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=timurrrr@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8678023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111960 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a tool that lets you run a command for each modified file on your git ↵joi@chromium.org2011-11-011-0/+114
| | | | | | | | | | | | | branch or in your workspace. Also, add a flag to sort-headers.py to make it more useful when used in conjunction with that tool, that suppresses the y/N prompt after each diff (as vetting a bulk change may be easier once it's in your working directory, using your favorite diff tool). Refactor the script slightly while I'm in there. BUG=none TEST=none Review URL: http://codereview.chromium.org/8390055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108097 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment to mass-rename.sh that points to sort-headers.pythakis@chromium.org2011-05-191-1/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7050018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85952 0039d316-1c4b-4281-b951-d872f2087c98
* Make update-copyrights.sh to work on both Linux and BSD (such as OS X)thakis@chromium.org2011-04-251-1/+1
| | | | | | | | | | | | Linux mktemp: http://linux.die.net/man/1/mktemp BSD mktemp: http://www.manpagez.com/man/1/mktemp/ BUG=none TEST=Run tools/git/update-copyrights.sh, it should work on both OS X and Linux Review URL: http://codereview.chromium.org/6900040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82905 0039d316-1c4b-4281-b951-d872f2087c98
* git: Check in a script to auto-update copyright headers.evan@chromium.org2011-04-181-0/+16
| | | | | | Review URL: http://codereview.chromium.org/6878018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81964 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly give mktemp parameters, as required by FreeBSD's version (used by ↵avi@chromium.org2011-03-101-1/+1
| | | | | | | | | | | Mac OS X). BUG=n/a TEST=n/a Review URL: http://codereview.chromium.org/6612073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77690 0039d316-1c4b-4281-b951-d872f2087c98
* Check in a quick git-specific hack for doing mass renames.evan@chromium.org2010-09-231-0/+55
| | | | | | Review URL: http://codereview.chromium.org/3440022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60323 0039d316-1c4b-4281-b951-d872f2087c98
* Check in a little toy that graphs history of words in the source.evan@chromium.org2010-08-052-2/+52
| | | | | | | | Useful for tracking progress on projects like wstring removal. Review URL: http://codereview.chromium.org/3017058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55107 0039d316-1c4b-4281-b951-d872f2087c98
* Discard error message from which if tput is not found.jochen@chromium.org2010-03-291-1/+1
| | | | | | | | | BUG=none TEST=run on cygwin Review URL: http://codereview.chromium.org/1553001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42944 0039d316-1c4b-4281-b951-d872f2087c98
* git: add some hooks under tools/gitevan@chromium.org2010-02-194-0/+59
These hooks will warn you if DEPS changes when you switch branches. Review URL: http://codereview.chromium.org/650030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39469 0039d316-1c4b-4281-b951-d872f2087c98