]> git.phdru.name Git - git-scripts.git/log
git-scripts.git
8 years agoFix: delete old files
Oleg Broytman [Sun, 10 Apr 2016 03:58:41 +0000 (06:58 +0300)]
Fix: delete old files

8 years agoBetter comments
Oleg Broytman [Wed, 30 Mar 2016 22:01:27 +0000 (01:01 +0300)]
Better comments

8 years agoAdd set-commit-date-not-packed
Oleg Broytman [Wed, 30 Mar 2016 21:56:55 +0000 (00:56 +0300)]
Add set-commit-date-not-packed

Call set-commit-date-recursive on all not-packed repositories.

8 years agoAdd set-commit-date.py
Oleg Broytman [Sun, 20 Mar 2016 16:42:46 +0000 (19:42 +0300)]
Add set-commit-date.py

Find commit date/time for every commit, list files in the commit
and set the file's modification time to the date/time of the latest commit.

This is much faster than set-commit-date for big repositories.

8 years agoset-commit-date-repos: fix docstring
Oleg Broytman [Sun, 20 Mar 2016 16:41:05 +0000 (19:41 +0300)]
set-commit-date-repos: fix docstring

8 years agoSplit set-commit-date-repos into set-commit-date-recursive
Oleg Broytman [Wed, 24 Feb 2016 19:37:13 +0000 (22:37 +0300)]
Split set-commit-date-repos into set-commit-date-recursive

8 years agoAdd post-merge and post-rewrite hooks
Oleg Broytman [Tue, 9 Feb 2016 18:48:15 +0000 (21:48 +0300)]
Add post-merge and post-rewrite hooks

These hooks compile python files to byte code.

8 years agoCarefully list dirty repos and show their status
Oleg Broytman [Wed, 27 Jan 2016 21:53:48 +0000 (00:53 +0300)]
Carefully list dirty repos and show their status

Copy every repo to a temp directory; this is very slow but prevents
``git status`` from touching real files.

8 years agoNew algorithm to find non-packed repos
Oleg Broytman [Tue, 7 Jul 2015 14:32:41 +0000 (17:32 +0300)]
New algorithm to find non-packed repos

Consider repos with files in refs and rerere cache not packed.

8 years agoPush master explicitly
Oleg Broytman [Mon, 6 Jul 2015 15:51:35 +0000 (18:51 +0300)]
Push master explicitly

8 years agoFix syntax
Oleg Broytman [Mon, 6 Jul 2015 15:51:19 +0000 (18:51 +0300)]
Fix syntax

8 years agoDo not mirror
Oleg Broytman [Mon, 6 Jul 2015 15:47:43 +0000 (18:47 +0300)]
Do not mirror

8 years agoRun update server info after deleting a remote branch
Oleg Broytman [Sun, 5 Jul 2015 00:13:50 +0000 (03:13 +0300)]
Run update server info after deleting a remote branch

8 years agoConfigure receive.updateserverinfo instead of post-checkout hook
Oleg Broytman [Sun, 5 Jul 2015 00:07:27 +0000 (03:07 +0300)]
Configure receive.updateserverinfo instead of post-checkout hook

Run git update-server-info instead of post-checkout.

8 years agoRemove current/master branch from web mirror
Oleg Broytman [Sat, 4 Jul 2015 16:11:57 +0000 (19:11 +0300)]
Remove current/master branch from web mirror

8 years agoAdd message to the tag
Oleg Broytman [Thu, 18 Jun 2015 15:50:19 +0000 (18:50 +0300)]
Add message to the tag

8 years agoRename touch-all -> set-commit-date
Oleg Broytman [Mon, 15 Jun 2015 03:15:38 +0000 (06:15 +0300)]
Rename touch-all -> set-commit-date

8 years agoMove post-checkout hooks to hooks/post-checkout
Oleg Broytman [Mon, 15 Jun 2015 03:08:11 +0000 (06:08 +0300)]
Move post-checkout hooks to hooks/post-checkout

8 years agoIf run from $current execute $origin/update instead
Oleg Broytman [Thu, 11 Jun 2015 17:36:39 +0000 (20:36 +0300)]
If run from $current execute $origin/update instead

8 years agoAdd details about error
Oleg Broytman [Thu, 11 Jun 2015 17:33:57 +0000 (20:33 +0300)]
Add details about error

8 years agoAdd script `update'
Oleg Broytman [Fri, 5 Jun 2015 17:07:24 +0000 (20:07 +0300)]
Add script `update'

9 years agoUse `dirname $0` instead of absolute path
Oleg Broytman [Tue, 7 Apr 2015 21:20:36 +0000 (00:20 +0300)]
Use `dirname $0` instead of absolute path

9 years agoAdd touch-ALL-repos
Oleg Broytman [Thu, 26 Mar 2015 18:43:14 +0000 (21:43 +0300)]
Add touch-ALL-repos

9 years agoQuote filename
Oleg Broytman [Thu, 26 Mar 2015 18:20:21 +0000 (21:20 +0300)]
Quote filename

9 years agoEscape inner quotes
Oleg Broytman [Sat, 21 Feb 2015 16:40:13 +0000 (19:40 +0300)]
Escape inner quotes

9 years agoAdd touch-all
Oleg Broytman [Fri, 6 Feb 2015 20:39:26 +0000 (23:39 +0300)]
Add touch-all

Recursively find commit date/time for every file in the current directory
and set the file's modification time to that date/time.

9 years agoRun git gc --aggressive
Oleg Broytman [Fri, 2 Jan 2015 20:33:25 +0000 (23:33 +0300)]
Run git gc --aggressive

9 years agoChange git repack depth from 250 to 20
Oleg Broytman [Fri, 2 Jan 2015 20:31:37 +0000 (23:31 +0300)]
Change git repack depth from 250 to 20

9 years agoChange wording
Oleg Broytman [Wed, 24 Dec 2014 16:31:30 +0000 (19:31 +0300)]
Change wording

9 years agoRun 'git repack' instead of 'git gc'
Oleg Broytman [Tue, 2 Dec 2014 23:43:15 +0000 (02:43 +0300)]
Run 'git repack' instead of 'git gc'

9 years agoRestore repack-not-packed
Oleg Broytman [Thu, 27 Nov 2014 08:07:14 +0000 (11:07 +0300)]
Restore repack-not-packed

9 years agoRename repack-not-packed to gc-and-repack
Oleg Broytman [Fri, 21 Nov 2014 20:26:38 +0000 (23:26 +0300)]
Rename repack-not-packed to gc-and-repack

9 years agoAdd option -f to git repack
Oleg Broytman [Fri, 21 Nov 2014 11:44:08 +0000 (14:44 +0300)]
Add option -f to git repack

9 years agoRun git gc --aggressive before repack
Oleg Broytman [Fri, 21 Nov 2014 11:43:02 +0000 (14:43 +0300)]
Run git gc --aggressive before repack

9 years agoDo git fsck after repack
Oleg Broytman [Fri, 7 Nov 2014 18:08:52 +0000 (21:08 +0300)]
Do git fsck after repack

9 years agoAdd script repack-not-packed
Oleg Broytman [Fri, 7 Nov 2014 17:44:08 +0000 (20:44 +0300)]
Add script repack-not-packed

9 years agoPull all remotes
Oleg Broytman [Wed, 17 Sep 2014 19:50:01 +0000 (23:50 +0400)]
Pull all remotes

9 years agoRename clone to svn2git
Oleg Broytman [Mon, 15 Sep 2014 14:17:14 +0000 (18:17 +0400)]
Rename clone to svn2git

9 years agoNo need to run two similar locate commands
Oleg Broytman [Tue, 19 Aug 2014 20:58:24 +0000 (00:58 +0400)]
No need to run two similar locate commands

Results for `locate -b \\.git' is fully contained in `locate -b \*.git'.

9 years agoNo need to explicitly show $new_HEAD
Oleg Broytman [Sun, 10 Aug 2014 13:42:23 +0000 (17:42 +0400)]
No need to explicitly show $new_HEAD

9 years agoUse head instead of awk
Oleg Broytman [Sun, 10 Aug 2014 13:28:59 +0000 (17:28 +0400)]
Use head instead of awk

9 years agoSet timestamp only on the files known to git
Oleg Broytman [Wed, 6 Aug 2014 21:46:41 +0000 (01:46 +0400)]
Set timestamp only on the files known to git

9 years agoRename post-checkout-touch to post-checkout-touch-all
Oleg Broytman [Wed, 6 Aug 2014 21:46:10 +0000 (01:46 +0400)]
Rename post-checkout-touch to post-checkout-touch-all

9 years agoCorrect English grammar
Oleg Broytman [Wed, 6 Aug 2014 21:36:06 +0000 (01:36 +0400)]
Correct English grammar

9 years agoAdd two post-checkout hooks as examples
Oleg Broytman [Wed, 6 Aug 2014 21:18:22 +0000 (01:18 +0400)]
Add two post-checkout hooks as examples

9 years agoMinor refactoring
Oleg Broytman [Tue, 5 Aug 2014 19:47:54 +0000 (23:47 +0400)]
Minor refactoring

9 years agoPull all repositories in /usr/local/src
Oleg Broytman [Mon, 4 Aug 2014 00:05:44 +0000 (04:05 +0400)]
Pull all repositories in /usr/local/src

9 years agoUse cat
Oleg Broytman [Mon, 4 Aug 2014 00:02:55 +0000 (04:02 +0400)]
Use cat

I admit it looks like a classic useless use of cat. But see the script "pull".

9 years agoAvoid bashisms
Oleg Broytman [Mon, 4 Aug 2014 00:02:25 +0000 (04:02 +0400)]
Avoid bashisms

9 years agoLocate all git repositories
Oleg Broytman [Sun, 3 Aug 2014 23:38:41 +0000 (03:38 +0400)]
Locate all git repositories

9 years agoDo something on all located git repositories
Oleg Broytman [Sun, 3 Aug 2014 23:37:46 +0000 (03:37 +0400)]
Do something on all located git repositories

9 years agoSet hooks.showrev
Oleg Broytman [Fri, 1 Aug 2014 00:47:46 +0000 (04:47 +0400)]
Set hooks.showrev

9 years agoAppend &&
Oleg Broytman [Fri, 1 Aug 2014 00:47:30 +0000 (04:47 +0400)]
Append &&

9 years agoRevert hooks.diffopts to default
Oleg Broytman [Fri, 1 Aug 2014 00:45:32 +0000 (04:45 +0400)]
Revert hooks.diffopts to default

Diff is provided by hooks.showrev.

9 years agoFix script permissions
Oleg Broytman [Fri, 1 Aug 2014 00:44:52 +0000 (04:44 +0400)]
Fix script permissions

9 years agoFix shell syntax error
Oleg Broytman [Tue, 29 Jul 2014 13:50:19 +0000 (17:50 +0400)]
Fix shell syntax error

9 years agoUse git rev-parse instead of git show-ref
Oleg Broytman [Mon, 28 Jul 2014 14:33:48 +0000 (18:33 +0400)]
Use git rev-parse instead of git show-ref

9 years agogpg --import public key from tag
Oleg Broytman [Mon, 28 Jul 2014 07:21:21 +0000 (11:21 +0400)]
gpg --import public key from tag

9 years agochmod g+w hooks/post-receive-user
Oleg Broytman [Sat, 26 Jul 2014 20:42:21 +0000 (00:42 +0400)]
chmod g+w hooks/post-receive-user

9 years agoAlways set emailprefix even if it's empty
Oleg Broytman [Sat, 26 Jul 2014 20:38:32 +0000 (00:38 +0400)]
Always set emailprefix even if it's empty

Empty emailprefix is used to suppress prefix altogether.

9 years agoSign the tag (-:
Oleg Broytman [Sat, 26 Jul 2014 00:50:31 +0000 (04:50 +0400)]
Sign the tag (-:

9 years agoAdd add-pubkey-blob-tag
Oleg Broytman [Sat, 26 Jul 2014 00:47:48 +0000 (04:47 +0400)]
Add add-pubkey-blob-tag

9 years agoRename add-pubkey -> add-pubkey-branch
Oleg Broytman [Sat, 26 Jul 2014 00:36:23 +0000 (04:36 +0400)]
Rename add-pubkey -> add-pubkey-branch

9 years agoFix a bug: restore $t
Oleg Broytman [Fri, 25 Jul 2014 13:59:51 +0000 (17:59 +0400)]
Fix a bug: restore $t

9 years agoConfigure maxlines
Oleg Broytman [Fri, 25 Jul 2014 13:59:23 +0000 (17:59 +0400)]
Configure maxlines

9 years agoAdd source URL
Oleg Broytman [Fri, 25 Jul 2014 13:58:36 +0000 (17:58 +0400)]
Add source URL

9 years agoAdd scripts to put phd public key to an orphaned branch
Oleg Broytman [Thu, 24 Jul 2014 20:53:03 +0000 (00:53 +0400)]
Add scripts to put phd public key to an orphaned branch

9 years agoAllow to configure subject prefix
Oleg Broytman [Mon, 21 Jul 2014 07:06:03 +0000 (11:06 +0400)]
Allow to configure subject prefix

9 years agoConfigure a repository at SourceForge
Oleg Broytman [Mon, 21 Jul 2014 07:03:53 +0000 (11:03 +0400)]
Configure a repository at SourceForge

9 years agoMove '(no author)' to front - it's about the 0th commit
Oleg Broytman [Thu, 10 Jul 2014 05:35:31 +0000 (09:35 +0400)]
Move '(no author)' to front - it's about the 0th commit

9 years agoConvert tags and branches
Oleg Broytman [Thu, 10 Jul 2014 04:03:29 +0000 (08:03 +0400)]
Convert tags and branches

9 years agoAllow additional subdirectories
Oleg Broytman [Tue, 20 May 2014 01:40:20 +0000 (05:40 +0400)]
Allow additional subdirectories

10 years agoDo not check for an error if create-ignore didn't create .gitignore
Oleg Broytman [Fri, 25 Apr 2014 01:53:16 +0000 (05:53 +0400)]
Do not check for an error if create-ignore didn't create .gitignore

10 years agoComment out messing with remote refs
Oleg Broytman [Fri, 25 Apr 2014 01:06:46 +0000 (05:06 +0400)]
Comment out messing with remote refs

10 years agoList dirty repositories
Oleg Broytman [Sun, 23 Mar 2014 23:02:18 +0000 (03:02 +0400)]
List dirty repositories

List repositories that have modified or untracked files; show status.

10 years agoumask 077
Oleg Broytman [Sun, 23 Mar 2014 23:01:43 +0000 (03:01 +0400)]
umask 077

10 years agoRemove excessive period
Oleg Broytman [Tue, 21 Jan 2014 20:41:25 +0000 (00:41 +0400)]
Remove excessive period

10 years agoShow $url in the error message; force dir
Oleg Broytman [Tue, 21 Jan 2014 20:40:52 +0000 (00:40 +0400)]
Show $url in the error message; force dir

10 years agoInitial commit
Oleg Broytman [Wed, 15 Jan 2014 05:44:42 +0000 (09:44 +0400)]
Initial commit