Adriaan Zonnenberg
bd8545f748
git-fork: Let curl exit with error code on fail
2017-04-27 18:44:20 +02:00
Sean Molenaar
14159245a9
Add BSD cat support
...
on macOS cat doesn't support the long operator
2017-04-21 15:37:48 +02:00
spacewander
684d6acc93
git-standup: add sanity check to -d option and overwrite -w option
2017-04-12 23:39:58 +08:00
spacewander
0b91cd9bae
git-standup: upgrade interface to catch up with kamranahmedse/git-standup
2017-04-12 14:17:25 +08:00
罗泽轩
61211634c9
Merge pull request #642 from nschlimm/git-bulk-command
...
Git bulk command
2017-04-01 10:40:08 +08:00
Niklas Schlimm
fe39ac8af2
Corrected repository location print out and docs ws-root-directory absolute path
2017-03-30 19:31:32 +02:00
Niklas Schlimm
ca62bdcfe6
Codereview Spacewander - whitespaces in workspace locations
2017-03-29 17:34:39 +02:00
Niklas Schlimm
7263b6c611
Review from spacewander
2017-03-28 21:52:21 +02:00
J.C. Yamokoski
6eb04bcca8
Remove slashes from git-config command
...
These slashes were causing the branch to be saved in `.git/config` with headings
such as `[branch "\"pr/123\""]` as opposed to `[branch "pr/123"]`. This in turn
prevented these entries from being removed when running `git pr clean`.
2017-03-28 09:44:40 -04:00
Niklas Schlimm
de15bf7fb0
Merge branch 'master' into git-bulk-command
2017-03-19 19:49:08 +01:00
罗泽轩
49771ba018
Merge pull request #636 from spacewander/fix_rename_branch
...
use remote detected instead of 'origin' in rename-branch
2017-03-19 20:52:48 +08:00
spacewander
4a05ad29e4
git-rename-branch: use detected upstream remote
2017-03-19 02:00:11 +08:00
spacewander
344b145062
git-pull-request: use detected upstream remote
2017-03-19 01:31:44 +08:00
spacewander
9744830d4a
git-delete-branch: avoid deleting local upstream
2017-03-18 22:13:57 +08:00
Niklas Schlimm
02dc8b5b21
Better behaviour in non workspace directories
2017-03-17 17:33:53 +01:00
Niklas Schlimm
d3cccebbd2
Current workspace is default target of bulk operations
2017-03-17 17:13:15 +01:00
Niklas Schlimm
9260fd92bf
Even shorter
2017-03-13 21:06:50 +01:00
Niklas Schlimm
5957544dee
Code refactor
2017-03-12 16:15:09 +01:00
Niklas Schlimm
9263aec739
bug fix in single ws mode
2017-03-08 20:26:44 +01:00
Niklas Schlimm
1cc77481bd
code formatting
2017-03-08 20:11:26 +01:00
Niklas Schlimm
534c72b91f
Fix in git-bulk head
2017-03-08 19:58:34 +01:00
Niklas Schlimm
57c0eb776c
New Command git-bulk initial commit
2017-03-08 19:50:36 +01:00
spacewander
cc0dff2f49
fix syntax & name variables better in rename-branch
2017-03-07 14:39:50 +08:00
Niklas Schlimm
422c9a8e69
taken out duplicate columns setting
2017-03-05 16:06:47 +01:00
Niklas Schlimm
b01359efc5
Optimized file length calculation
2017-03-04 14:21:26 +01:00
Niklas Schlimm
518db6e648
Columns in git-effort adopt to file length
2017-03-04 13:59:48 +01:00
Dan Kilman
b2c7de9a5a
Fix git-effort for paths starting with dash
2017-02-14 23:57:19 +02:00
Justin Dugger
c80b4e773f
fall back to EMAIL when user.email is not configured
2017-02-01 20:36:34 -08:00
Nicolai Skogheim
e93f206bad
Merge pull request #619 from spacewander/git-summary-separator
...
use U+266A instead of comma as separator
2017-01-31 11:32:56 +01:00
Andrew Griffiths
2451c0c202
Adds SSH prompt to git fork
2017-01-25 10:32:49 +00:00
spacewander
bb5f4b0234
use U+266A instead of comma as separator
2017-01-24 14:13:38 +08:00
spacewander
b8ea5c4a02
fix git-extras update and tweak Windows detection
...
Replace expr with bash substring expansion.
Tested under:
GNU bash, version 4.3.42(5)-release (x86_64-pc-msys)
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
2016-12-07 10:39:53 +08:00
罗泽轩
82162ea8c8
Merge pull request #585 from tardypad/stamp
...
Add git stamp
2016-12-05 20:13:50 +08:00
罗泽轩
15ae263312
Merge pull request #578 from tardypad/count_fix_extra_arguments
...
count: remove usage of extra arguments for detailed display
2016-12-05 09:49:03 +08:00
Damien Tardy-Panis
a118f306b1
stamp: remove non used multiple lines error messages
2016-12-04 16:21:09 +01:00
Damien Tardy-Panis
4aec48c85c
stamp: the message consists in all terms after the identifier
...
no need to put quotes in case of spaces
2016-12-04 16:21:09 +01:00
Damien Tardy-Panis
c9463bf6ef
stamp: identifier is case insensitive for the replacement
2016-12-04 16:21:09 +01:00
Damien Tardy-Panis
b105dd837a
stamp: add replace option
...
replace all previous stamps with same identifier in commit message
2016-12-04 16:18:54 +01:00
Damien Tardy-Panis
3ffbe23fbe
stamp: display new full message as result
2016-12-04 16:18:54 +01:00
Damien Tardy-Panis
79629e6b6e
stamp: add extra optional message parameter
2016-12-04 16:18:54 +01:00
Damien Tardy-Panis
cd328bfb61
stamp: add basic script
2016-12-04 16:18:54 +01:00
罗泽轩
76694bccdd
Merge pull request #601 from richardfearn/git-sed-spaces-in-filenames
...
git-sed: use "grep -z" and "xargs -0" to cope with spaces in filenames
2016-11-20 10:38:46 +08:00
hemanth.hm
29a5596d9e
Merge pull request #603 from richardfearn/git-clear-consistent-defaults
...
git-clear-soft: change default yes/no option to "no" (as with git-clear)
2016-11-20 05:16:22 +05:30
Richard Fearn
c4a9bb46d9
git-clear-soft: change default yes/no option to "no" (as with git-clear)
...
6d49449 changed the git-clear default option to "no" (see #583 ).
Make the git-clear-soft default the same - it's safer.
2016-11-19 17:53:51 +00:00
Richard Fearn
8cbbf9095a
git-delete-merged-branches: use "xargs -r" to prevent error when there are no branches to delete
...
Prevents this error:
$ git delete-merged-branches
fatal: branch name required
2016-11-19 17:41:30 +00:00
Richard Fearn
2292e1cebe
git-sed: use "git grep -z" and "xargs -0" to cope with spaces in filenames
...
Otherwise filenames with spaces result in errors:
$ cat "file with spaces in name"
old
$ git sed old new
sed: can't read file: No such file or directory
sed: can't read with: No such file or directory
sed: can't read spaces: No such file or directory
sed: can't read in: No such file or directory
sed: can't read name: No such file or directory
2016-11-19 17:26:17 +00:00
罗泽轩
fd2de52949
Merge pull request #600 from richardfearn/git-fresh-branch-fix
...
git-fresh-branch: fix handling of 'yes' response when there are changes
2016-11-20 01:25:30 +08:00
Richard Fearn
4f8e411f71
git-fresh-branch: fix handling of 'yes' response when there are changes
...
'break' isn't valid in its current location in the script, resulting in an
error like:
/usr/bin/git-fresh-branch: line 42: break: only meaningful in a `for', `while', or `until' loop
Since there's a call to 'clean' right at the end of the script, do nothing if
anything beginning 'Y' or 'y' is entered; execution will continue to the end
of the script, and 'clean' will be called.
2016-11-19 16:59:58 +00:00
Richard Fearn
82d6a7265f
git-{clear,clear-soft,sync}: improve yes/no prompts
...
Don't print trailing newline; prompt for yes/no response on the same line
2016-11-19 16:41:19 +00:00
Richard Fearn
009f4fb6d1
git-sed: fix 'unkonwn' typo
2016-11-19 14:03:21 +00:00
spacewander
b89c12e79b
show all commit messages if no tag found
2016-11-05 14:33:16 +08:00
spacewander
e101d825a2
strip out branches like trap-effort-signals
2016-11-05 12:10:03 +08:00
Robin Winslow
71a12810e0
Be explicit about only resetting git directories
...
This expects a target git directory. If it's not a git directory,
(e.g. a simple directory) then it will pass through to
`git clone` which will raise an error.
Here I'm clarifying that this tool will reset local *git directories* specifically.
2016-10-29 17:24:18 +01:00
Robin Winslow
5550cfa4dc
Fix branch option parsing
...
Needs an extra `shift`, to remove the second option as well.
2016-10-29 16:23:28 +01:00
Robin Winslow
6e87dc3e55
Fix usage
2016-10-29 16:18:09 +01:00
Robin Winslow
2137124977
Use LC_ALL=C for locale consistency
2016-10-29 16:16:18 +01:00
Robin Winslow
ad5365fb53
Remove unnecessary check
2016-10-29 16:16:04 +01:00
Robin Winslow
e476562a46
git-force-clone
...
All files for git-force-clone, a command for overwriting local repos when closing repositories.
2016-10-28 22:23:47 +01:00
Brian Goad
7ff05f2977
Need to remove the temp file regardless
2016-10-21 14:05:44 -04:00
spacewander
1b84048bfc
Add --no-email to git-author
...
This feature is used to generate AUTHORS in 4.2.0 release.
2016-10-12 14:37:45 +08:00
spacewander
805d43831f
Bump version to 4.3.0-dev.
2016-10-08 14:04:14 +08:00
spacewander
91aa82b62b
Version 4.2.0
2016-10-08 13:52:34 +08:00
grindhold
6d49449a4d
fixes #583
...
put default option in security-answer to 'no'
2016-09-23 22:38:27 +02:00
Damien Tardy-Panis
fae4c29870
count: remove usage of extra arguments for detailed display
...
When viewing detailed count information through the usage of the
--all argument, extra arguments would be also passed to the
git shortlog command (probably to be used as revisions list)
This behaviour was introduced in commit 7a60cd1 .
Unfortunately the --all argument itself is passed along and results
in the counts of all refs to be displayed
This commit removed the usage of extra arguments and thus only
display the counts of the current branch
2016-09-12 13:46:25 +02:00
R. Martinho Fernandes
241069ddac
Make git-pr set up branch for pulling ( #570 )
...
With these changes, the pr/nn branches created by git-pr also support `git pull` to get PR updates.
2016-09-11 09:12:41 +05:30
Hozefa
5a8ce5e364
add rename-branch command ( #576 )
2016-09-11 09:11:32 +05:30
William Montgomery
554d779344
Add built in 'exit' command to git-repl
2016-08-11 15:45:51 -04:00
Nicolai Skogheim
ebe7448e67
pull-request: should read local config if present
2016-08-07 09:43:07 +02:00
Nicolai Skogheim
20b84f5b17
git-missing: do proper argument parsing. Fix #562
2016-08-06 03:04:01 +02:00
Nicolai Skogheim
5d15928e82
Merge pull request #563 from lukechilds/improve-fork
...
git-fork: use ssh remotes if possible
2016-08-04 14:13:55 +02:00
Luke Childs
c87d59346b
Set fork remotes using ssh if available
2016-08-03 13:06:56 +01:00
Damien Tardy-Panis
9b3e25f407
Add git reauthor ( #548 )
...
Based on https://help.github.com/articles/changing-author-info/
2016-08-02 19:41:56 +02:00
hemanth.hm
76f23c213d
Merge pull request #561 from lukechilds/improve-json-encoding
...
Improve JSON encoding
2016-07-30 15:11:30 +05:30
Luke Childs
82b6eb4331
Clean up git-pull-request
2016-07-30 10:36:14 +01:00
Luke Childs
a3c03d021e
Improve JSON encoding
2016-07-30 00:50:39 +01:00
Luke Childs
27e992b260
Fix incorrect comment in git-fork
2016-07-29 23:55:20 +01:00
spacewander
66560432ce
add doc for git-pull-request and others
2016-07-29 11:39:39 +08:00
spacewander
b33f85a5d1
follow common shebang
2016-07-28 22:24:40 +08:00
Yi EungJun
dbf87bf94e
fork: Fetch origin after forking
2016-07-26 11:17:30 +09:00
Yi EungJun
6e65f37392
fork: Rename 'origin' to 'upstream' after forking
2016-07-26 01:22:30 +09:00
Yi EungJun
76663c26db
fork: Fork 'origin' remote repo if repo is not given
2016-07-26 00:01:06 +09:00
Stefan VanBuren
fece2a517a
Fix typo
2016-07-12 13:23:03 -04:00
spacewander
09bbb56a39
fix git-fork by removing '.git'
2016-06-27 19:43:07 +08:00
spacewander
34f5245672
fix the support for forking via ssh
2016-06-27 14:00:37 +08:00
hemanth.hm
1f374d1ea9
Merge pull request #412 from spacewander/git-obliterate
...
update git obliterate
2016-06-02 05:56:08 +05:30
spacewander
a39c89e34e
Update the way to delete submodule
2016-05-17 17:20:03 +08:00
Matiss
61fee79cc7
Add git-clear-soft command
...
Modify git-clear to indicate default behavior of removing git ignored files
2016-05-01 19:05:21 +02:00
hemanth.hm
e7826a717c
Merge pull request #513 from lgastako/master
...
Add -m flag to git-setup to set the initial commit message.
2016-04-20 21:45:36 +05:30
spacewander
c43d4f2539
add git-standup
2016-04-14 15:40:11 +08:00
John Evans
555282985d
Add -m flag to git-setup to set the initial commit message.
2016-03-03 01:12:19 -05:00
Lee Wei
56a2e27910
Merge pull request #1 from tj/master
...
Update with the upstream
2016-02-16 11:30:22 +08:00
LeeW
3603b67eb7
Fix ignore-io searching bug
2016-02-16 11:17:04 +08:00
Nimit Kalra
8a8a483f41
Bump version to 4.2.0-dev.
2016-01-24 15:07:09 -06:00
Nimit Kalra
0ca4c6f221
Version 4.1.0
2016-01-24 15:04:10 -06:00
spacewander
a192fe688a
handle GIT_EDITOR which contains space
2016-01-20 18:48:19 +08:00
spacewander
afce25cd65
use ps -f and awk to emulate pgrep
...
There is no pgrep in git for windows
2016-01-20 11:39:25 +08:00
Takuma Yamaguchi
f0ecd82129
add upstream check & bugfix
2016-01-17 00:56:45 +09:00
Takuma Yamaguchi
3481ff245e
upstream is used by default
2016-01-16 01:40:10 +09:00
Takuma Yamaguchi
12e416a324
add git-sync
2016-01-14 00:19:12 +09:00
Nimit Kalra
39ed77253c
Bump version to 4.1.0-dev.
2015-12-29 00:03:19 -06:00
Nimit Kalra
94556f380b
Version 4.0.0
2015-12-28 22:42:20 -06:00
David Rogers
2b042bdd59
Better USAGE message
2015-12-28 14:07:09 -05:00
David Rogers
64639e1437
Touch multiple files supplied
2015-12-28 14:06:30 -05:00
David Rogers
3c874ce9f4
Use $@ instead of $* re #467
...
Blind first pass so that I have a PR to remind me...
2015-12-28 13:53:49 -05:00
Andrew Janke
a09eefde25
Fix missing shebang in git-clear and missing +x on others
2015-12-27 15:02:55 -05:00
hemanth.hm
35e1f7845a
Merge pull request #479 from JanSchulz/global_gitignore
...
Add more info how to set global gitignore
2015-11-03 07:47:46 +05:00
hemanth.hm
1d8534b9cd
Merge pull request #448 from Lee-W/master
...
Add git-ignore-io
2015-10-28 10:15:40 +05:30
Jan Schulz
b4f4dd1197
Add more info how to set global gitignore
2015-10-22 11:28:17 +02:00
Nimit Kalra
b804d36a21
Merge pull request #471 from JanSchulz/merge-changelog
...
git-changelog: option to only use merges
2015-10-18 13:22:30 -05:00
Jan Schulz
5a80928b89
git-changelog: option to only use merges
...
using `-m` or `--merges-only` will only show the merge
commit messages. It will also use the body of the merge
commit message in addition to the subject, as github merges
usually have a useless subject line for commit messages.
If used with `-n/--no-merges`, the last one specified will win.
2015-10-18 16:11:10 +02:00
spacewander
7f662708fa
use real purplish
2015-10-13 23:54:52 +08:00
hemanth.hm
f799e96910
Merge pull request #466 from anarcat/master
...
add simple sed command
2015-10-10 09:43:36 +05:30
Antoine Beaupré
4b795fc42f
add simple sed command
2015-10-08 16:13:27 -04:00
spacewander
77f1c86b0d
disable color if the output is not printed to tty
2015-10-08 16:45:53 +08:00
spacewander
02a440953b
replace wildcard '?' to literal '?'
...
Previously the `?` in the case statement will match any single letter.
As a result, `git scp a` will act as the same as `git scp -h`.
What we actually need is a literal '?'.
2015-10-08 14:06:46 +08:00
spacewander
7ae2e0b9ef
git-scp: use portable terminal escape sequences
2015-10-08 10:24:31 +08:00
hemanth.hm
c4cd2ca34d
Merge pull request #460 from apjanke/summary-defensive-locale
...
git-summary: protect against character encoding issues with LC_ALL=C
2015-10-02 22:05:27 +05:30
Andrew Janke
19f66943cb
git-summary: protect against character encoding issues with LC_ALL=C
2015-10-02 08:35:04 -04:00
Andrew Janke
b2817c7299
git-effort: use portable terminal escape sequences
...
Also uses "default color" instead of "black" for the low-activity things, so
it still shows up on colorschemes that have dark backgrounds.
2015-10-02 06:35:38 -04:00
Johannes Ewald
7b74567550
Add possibility to also checkout pull requests based on GitHub urls
2015-09-24 16:11:06 +02:00
Akim Demaille
5f61bfad6e
summary: beware of locale issues, and pass options to line-summary
...
* bin/git-summary: here.
2015-09-23 19:27:19 +02:00
hemanth.hm
332bec0f1a
Merge pull request #443 from Natim/patch-1
...
Make sure git-authors doesn't return twice the same ones.
2015-09-22 11:44:40 +05:30
LeeW
37d6012791
Replace "export" option with "replace" in git-ignore-io
2015-09-19 09:54:53 +08:00
LeeW
07505518fa
Remove exclamation mark
2015-09-19 01:00:31 +08:00
LeeW
88c3437a24
Remove warning when search without word.
...
* Show usage only
2015-09-19 00:42:23 +08:00
LeeW
b517022e15
Fix typo
2015-09-19 00:37:38 +08:00
LeeW
8d0eae5c7f
Add warning when there is not argument after search, append and export
2015-09-17 21:32:10 +08:00
LeeW
61bfc44eec
Fix ~/.gi_list not exist problem
2015-09-17 21:19:45 +08:00
Sam Thursfield
6a000ec99b
effort, summary: Correctly estimate the number of active days
...
The output of `git log` is not exactly in chronological order. The
default sort option (--date-order) is described in the man page as
follows:
Show no parents before all of its children are shown, but otherwise
show commits in the commit timestamp order.
The `uniq` program will only remove duplicate lines if they follow each
other. In order for this to work correctly, we need to ensure that the
list of dates is exactly in chronological order. There doesn't seem to
be a `git log` option to achieve this, but we can use the `sort`
program. I used reverse sort (`sort -r`) since the output will be roughly
reverse-sorted already.
It's also worth noting that the default --date-order option sorts by
commit date, but git-summary uses *author* date (%ai). Passing
--author-date-order doesn't fix this issue, though, so I didn't change
that.
At the time of writing, this change reduces the number of 'active days'
for git-extras.git from 367 to 331.
2015-09-14 13:32:10 +01:00
hemanth.hm
c8aca55cd7
Merge pull request #445 from nicolaiskogheim/straighten-up-effort
...
Straighten up effort
2015-09-14 14:55:54 +05:30
Nicolai Skogheim
80f060b213
effort: change order of arguments to function
...
This makes git effort less prone to failing if
someone passes formatting options
2015-09-14 00:00:39 +02:00
Nicolai Skogheim
e91fd9623f
effort: add usage message
2015-09-13 23:56:56 +02:00
Nicolai Skogheim
86e1a7014c
effort: More robust argument parsing
...
Why:
* The old way of handling arguments could make it
difficult to make non-breaking changes because
to be able to handle more arguments than the
'--above' argument, the logic would need to be heavily
refactored and demand restrictions on argument order.
This change addresses the need by:
* Parse arguments in a cleaner way
* Make the command more future proof with respect to arguments
Notable change is the synopsis. Please the see man page.
2015-09-13 23:55:28 +02:00
LeeW
490d12b6f7
Add full name for list option
2015-09-12 08:15:29 +08:00
LeeW
0393d560f8
Fix usage error
2015-09-12 08:04:47 +08:00
Rémy HUBSCHER
639210660e
Make sure git-authors doesn't return twice the same one.
2015-09-11 20:14:36 +02:00
spacewander
38c7b03372
add alias to git-feature
2015-09-11 20:23:17 +08:00
LeeW
2c1d766640
Modify print_last_modified_time to make it Linux compatible
2015-09-09 18:42:28 +08:00
LeeW
6073594656
Remove redundant \n in tr
2015-09-08 20:59:08 +08:00
LeeW
fed97bf8db
Not to update list each time git-ignore-io is executed
...
* Check whether the list exists. If not, get it.
* Update should use -u option manually
2015-09-08 20:57:06 +08:00
LeeW
3ad2f6fa4a
Refactor git-ignore-io and remove .gitignore
2015-09-08 20:23:53 +08:00
spacewander
a7f830b1e7
remove duplicate checkout
2015-09-08 16:08:50 +08:00
LeeW
98bbfe7968
Fix typo
2015-09-07 22:20:20 +08:00
LeeW
4a8037fa62
Implement search function or git-ignore-io
2015-09-06 22:49:32 +08:00
LeeW
d87599c344
Remove help from git-ignore-io
2015-09-06 22:18:29 +08:00
LeeW
87d61693b1
Merge gi_extension project into git extras as git-ignore-io
...
* gi_extension(https://github.com/Lee-W/gi_extension )
2015-09-06 19:58:17 +08:00
grindhold
a66c9446b5
made more precise security-question.
2015-09-01 15:17:14 +02:00
grindhold
dae38840f9
more concise implementation of git-clear
2015-09-01 13:28:29 +02:00
Nicolai Skogheim
0c7bf665f2
Fix typo in variable name
2015-08-29 15:31:10 +02:00
grindhold
ad7811e991
implemented git-clear
...
i wanted a simple command to restore the state of a repo as if it was
freshly cloned with the current HEAD. This is basically git reset --hard
with deletion of all untracked files that are in the repo.
2015-08-26 21:58:22 +02:00
hemanth.hm
afb905c5ae
Merge pull request #430 from spacewander/git-extras
...
make it possible to update via `git extras`
2015-08-16 09:28:41 +05:30
luozexuan
5fb7f6b77c
make it possible to update via git extras
2015-08-16 11:47:16 +08:00
hemanth.hm
ad83e447a6
Merge pull request #429 from nicolaiskogheim/merge-into-ff-only
...
merge-into: change --ff option to --ff-only
2015-08-14 17:12:05 +05:30
Nicolai Skogheim
2d8b703e7c
merge-into: change --ff option to --ff-only. fix #421
2015-08-14 13:03:39 +02:00
hemanth.hm
17b82ec9ee
Merge pull request #411 from Natim/add-psykorebase-command
...
Add the git-psykorebase command.
2015-08-11 16:02:39 +05:30
Rémy HUBSCHER
84699acc6e
Add documentation.
2015-08-11 11:26:52 +02:00
hemanth.hm
3632ad959f
Merge pull request #426 from spacewander/update-for-new-version
...
abort git-alias when too many arguments given.
2015-08-09 17:21:42 +05:30
spacewander
98a1820d39
abort git-alias when too many arguments given.
...
Avoid incorrect usage probably because of the missing quotes, like "git
alias cm checkout master"
2015-08-09 19:27:49 +08:00
hemanth.hm
ad75f873af
Merge pull request #423 from nicolaiskogheim/effort-paths
...
effort: document that it takes any path, not just filenames
2015-08-08 20:46:25 +05:30
Nicolai Skogheim
4527656f7c
effort: rename 'file' to 'path' to be more accurate
2015-08-08 09:06:54 +02:00
Nicolai Skogheim
7de280f12f
effort: fix active days always 1
...
Introduced in cdb773c06 (Fix error on FreeBSD with process substitution)
when trying to squash a bug.
This fix should be valid for that bug as well.
2015-08-08 02:44:55 +02:00
hemanth.hm
2113e8c1d7
Merge pull request #419 from nicolaiskogheim/git-guilt
...
[RFC] guilt: small fixes
2015-08-07 16:43:09 +05:30
Nicolai Skogheim
ff4ad92a7a
line-summary: 'function f{...' -> 'f() {...'
...
We use this style more often
2015-08-07 08:36:56 +02:00
Nicolai Skogheim
40023f9f14
line-summary: add missing quotation marks
2015-08-07 08:36:56 +02:00
Nicolai Skogheim
b9ca124980
line-summary: tighten regex
2015-08-07 08:36:56 +02:00
Nicolai Skogheim
8b4e50f74a
guilt: remove --help option
...
git overrides execution when --help is given,
showing the man page for the command
2015-08-07 08:35:32 +02:00
Nicolai Skogheim
8f1729d5f7
fork: http-urls had colon instead of slash
2015-08-05 04:27:32 +02:00
spacewander
94bf129721
now we can specify a commit range for git-obliterate
2015-08-01 20:39:02 +08:00
Rémy HUBSCHER
d8395ba2e9
Create a bash version of git-psykorebase — Fixes #411
2015-07-31 16:22:58 +02:00
hemanth.hm
3c5523617e
Merge pull request #409 from nicolaiskogheim/refactor-alias
...
Refactor alias
2015-07-29 17:51:23 +05:30
Nicolai Skogheim
24ad1c8281
alias: bugfix
...
'git alias <search-term>' did not work.
2015-07-29 13:15:34 +02:00
Nicolai Skogheim
4b4276e3fc
contrib: refactor, and conform to git
2015-07-29 12:03:45 +02:00
hemanth.hm
371dcdff13
Merge pull request #405 from nicolaiskogheim/fix-filenames-with-spaces
...
Make git effort not crash when passed file names with spaces
2015-07-29 13:36:24 +05:30
hemanth.hm
46db56905d
Merge pull request #404 from nicolaiskogheim/freebsd-fix
...
Make git effort run on FreeBSD
2015-07-29 13:36:00 +05:30
NANRI
22406cef6a
git-alias: use sed insted of colrm
...
PortableGit doesn't have colrm command.
2015-07-29 08:39:07 +02:00
NANRI
5e14c08fc5
git-changelog: use cp instead of mv
...
mv command cannot overwrite in PortableGit(msysgit).
2015-07-29 08:27:30 +02:00
NANRI
434b7681ce
git-extras: use git-help instead of man
...
PortableGit doesn't have man command.
2015-07-29 08:23:25 +02:00
Nicolai Skogheim
526fb77823
Quote variables bc of filenames with spaces
2015-07-29 05:10:52 +02:00
Nicolai Skogheim
1956d385bd
Guard against 'seq 0'
...
Most implementations of seq yields no output for 'seq 0',
but some yields '1(newline)0'.
2015-07-28 21:23:50 +02:00
Nicolai Skogheim
cdb773c065
Fix error on FreeBSD with process substitution
2015-07-28 20:41:53 +02:00
Nicolai Skogheim
20e6455559
Pass --import-functions if required
...
This patch is the reason for this commit:
https://lists.freebsd.org/pipermail/svn-ports-all/2014-September/075090.html
2015-07-28 06:13:59 +02:00
hemanth.hm
f40e6c37a6
Merge pull request #401 from nicolaiskogheim/effort-above-error-on-NaN
...
effort: error out on bad value to --above
2015-07-25 13:05:00 +05:30
Nicolai Skogheim
6ebfdc5329
effort: error on bad value to --above
2015-07-25 09:09:39 +02:00
hemanth.hm
d97faf2424
Merge pull request #400 from nicolaiskogheim/fix-off-by-one
...
effort: don't count untouched files
2015-07-25 12:17:34 +05:30
hemanth.hm
651a2bac97
Merge pull request #391 from nicolaiskogheim/effort-limit-commits
...
[RFC] effort: Allow sending options to log. Fix #326
2015-07-25 11:52:06 +05:30
hemanth.hm
3dcf09f883
Merge pull request #398 from nicolaiskogheim/git-graft
...
graft: Require destination branch. Fix #23
2015-07-25 11:50:43 +05:30
Nicolai Skogheim
95db4e7ad5
archive-file: cleaner way to get current branch
2015-07-25 06:09:43 +02:00
Leila Muhtasib
3d0b4feb80
graft: Require destination branch. Fix #23
...
This is to avoid the old behaviour of automatically
merging into master.
2015-07-25 04:16:09 +02:00
Nicolai Skogheim
329106c845
effort: don't count untouched files
2015-07-25 03:16:18 +02:00
Nicolai Skogheim
ba5e5989a3
Do proper argument parsing
2015-07-24 18:57:34 +02:00
Nicolai Skogheim
fd72edd98f
effort: allow sending options to log. Fix #326
2015-07-23 01:15:10 +02:00
Amir Tocker
7ddd1f7a60
Catch "HEAD -> master" when creating the changelog
...
git log may report `(HEAD -> master, tag:...)` instead of `(HEAD, tag:...)`.
2015-07-20 09:38:14 +03:00
hemanth.hm
8652172f9b
Merge pull request #394 from markeissler/changelog-signal-trap
...
Handle signals in git-changelog.
2015-07-16 09:25:45 +05:30
Mark Eissler
4ff5dc1ee0
Remove unused var.
2015-07-15 08:34:06 -07:00
Mark Eissler
4fd095b741
Handle signals in git-changelog.
2015-07-10 18:11:18 -07:00
Nicolai Skogheim
a7064395c2
Meke coloring respect --above. Fix 74
2015-07-10 03:29:09 +02:00
Nicolai Skogheim
935c5a37b3
Avoid spawning subshell
2015-07-08 18:59:10 +02:00
Nicolai Skogheim
39238ded46
Remove unnecessary call to cat
2015-07-08 18:56:00 +02:00
Nicolai Skogheim
203b7649a2
perf: reduce calls to git log
2015-07-08 18:52:51 +02:00
Nicolai Skogheim
73973049d6
Parallelize git-effort with xargs
2015-07-08 18:45:41 +02:00
Nicolai Skogheim
cb15c94eab
Alter options to git log. Remove pipe
2015-07-08 17:58:12 +02:00
Rico Sta. Cruz
13842de9e0
Use https for git-fork
2015-06-23 12:57:30 +08:00
spacewander
51fbc16913
installation with curl and bash
2015-06-08 00:09:40 +08:00
spacewander
84c2d1014b
keep installation silent
2015-06-07 20:57:39 +08:00
spacewander
a498332c96
update installation in git-extras update
2015-05-30 12:31:23 +08:00
go2null
a67b42711d
FIXes location of -- for grep
...
Broken in 5b1ac3ccc6
`--` must be after all parameters (options), and before positional arguments
See https://unix.stackexchange.com/questions/11376/what-does-double-dash-mean-also-known-as-bare-double-dash
2015-05-28 11:59:29 +00:00
phigoro
95e8812370
git-effort: replace "wc | cut" with "wc | awk"
...
It looks "cut" may have different behaviour, e.g. BSD one works the way
git-effort doesn't expect. "awk" looks to be one of possible fixes here.
2015-05-11 19:54:38 +03:00
phigoro
09d967dfbd
align hashbang of git-guilt & git-merge-into
2015-05-10 12:01:38 +03:00
Newell Zhu
72f08b1095
Fix Fatal for git-line-summary
...
1. Fix print format with special characters
2. Fix Fatal when exist special characters in git blame output
3. Fix raise error when exist not committed new files
2015-05-09 17:07:29 +08:00
Rob Kennedy
e2b6eaf028
Don't treat ignored patterns as regexps
...
Fixes #353 .
2015-04-29 22:48:16 -07:00
Hemanth.HM
438de98926
Version 3.0.0
2015-04-27 17:43:50 +05:30
CJ
62dd4a2258
Updated documentation for git-scp and slight feature change
2015-04-27 15:05:17 +08:00
Mark Eissler
399bc037fa
Fix git tag substring extraction for bash 3.2.
2015-04-25 10:12:17 -07:00
hemanth.hm
e16e90e9b9
Merge pull request #360 from spacewander/master
...
correct the broken regex
2015-04-25 21:44:15 +05:30
spacewander
2810323aad
add support for git version below 2.2.0
2015-04-24 12:00:17 -07:00
Mark Eissler
80d680b0a6
Fix git-changelog for compatibility for bash<4. Fixes #337 , #338
...
Removed dependency on real associative arrays, which are not
support previous to bash 4.
2015-04-24 12:00:17 -07:00
spacewander
b4a1fe0aa3
correct the broken regex
...
'*text' only matches string ended with 'text'. So it matches 'ASCII text',
but does not match 'ASCII text executable'. Before, `git summary
--line` just counts plain text file, now we fix it.
2015-04-24 23:13:16 +08:00
Ivan Malopinsky
05b0a5d3d5
git-merge-repo
2015-04-19 12:23:02 -04:00
spacewander
b375870693
fix indentation errors in git guilt
2015-04-12 11:22:55 +08:00
spacewander
b109c866b7
Hope to fix #341
2015-04-10 00:58:59 +08:00
Kylie McClain
5b1ac3ccc6
use argument separator for usages of grep which can choke on weird input
2015-04-08 18:51:30 -04:00
spacewander
888919c2e9
add git-guilt
2015-04-06 15:59:53 +08:00
spacewander
3330af6cd4
sort unless there is only one item
2015-03-22 22:55:15 +08:00
hemanth.hm
1a25e57069
Merge pull request #333 from paulschreiber/merged-branches
...
Fixes #332 git show-merged-branches and show-unmerged-branches
2015-03-18 19:12:08 +05:30
Paul Schreiber
00050b91da
add show-merged-branches and show-unmerged-branches
2015-03-18 09:33:02 -04:00
Paul Schreiber
668cc9ef78
when deleting merged branches, preserve "svn" branch for git-svn
...
Fixed #328
2015-03-17 14:00:40 -04:00
hemanth.hm
9b50ce3000
Merge pull request #324 from chernjie/git-ignore
...
Support ~ in git-ignore.
2015-03-17 13:24:23 +05:30
Mark Eissler
fbe171e280
Fix tag trapping when HEAD and tag point to same commit.
...
When the last tag is also the last commit, then we need to account
for a much longer tag output:
HEAD, tag: v1.0.1, origin/master, origin/HEAD,...
This fix strips out 'HEAD', the rest is handled by existing code.
2015-03-16 13:37:53 -07:00
Mark Eissler
29cd63bea2
Fix gitflow commit history output.
...
When gitflow is used, commits on merged feature branches were
appearing in the generated output with tags labeled as:
origin/feature/BRANCH_NAME
This fix filters out any 'tags' that include forward slashes,
which eliminates this behavior. The commits then appear as part
of the tag they were merged in with.
2015-03-16 12:16:10 -07:00
Mark Eissler
49e8cf17a4
Complete rewrite to support commit ranges for pretty and list output.
2015-03-11 11:43:35 -07:00
CJ
522213a28f
Support ~ in add_patterns for git-ignore
2015-03-11 15:00:30 +08:00
CJ
bf89063212
Support ~ in show git-ignore
2015-03-11 15:00:24 +08:00
spacewander
d94663312f
add merge-into to merge two branches quickly
2015-03-10 23:45:00 +08:00
Andrew Starr-Bochicchio
28df09b103
git-fresh-branch: Check for changes and prompt for input before nuking. (Issue: #142 )
2015-03-09 22:14:37 -04:00
hemanth.hm
14ef2a88ef
Merge pull request #308 from spacewander/git-utility
...
extra mktemp into git_extra_mktemp.
2015-03-08 23:37:20 +05:30
hemanth.hm
a48402153b
Merge pull request #312 from RichardLitt/feature/concat-extra-feature-names
...
Added in option to concat extra feature names.
2015-03-08 23:36:41 +05:30
Ciro Nunes
c1b0067a97
fix gh-pages to stash and don't delete files
...
Closes #137
2015-03-03 09:04:20 -03:00
Jianjin Fan
6df9673936
Allow empty initial commit when setup repo.
...
When hit `git setup` in an empty directory, it doesn't create a commit. But often we need an empty initial commit for future rebasing and reseting, etc. Fixes #318 .
2015-02-20 12:25:25 +08:00
jykntr
bfeb897a6d
git-summary correctly displays project name
...
git-summary correctly displays project name when not executed in the top
level directory of a repository. Fixes tj/git-extras#302 .
Uses the git-sh-setup script to find top level directory and then uses
that directory name for the project name.
2015-02-18 17:09:39 -07:00
Damian Krzeminski
fabb2c5541
changelog: add git-config support for format and log options
...
(1) make format configurable
you can change the default changelog format by configuring
changelog.format git variable
for example:
git config changelog.format '- %s (%ae)'
gives you something like that:
- Merge pull request #298 from timfeirg/master (hemanth.hm@gmail.com )
- remove stuff from readme & form a list (kkcocogogo@gmail.com )
see git-log man for more examples
(2) make log options configurable
set `changelog.opts` to influence the way changelogs are generated
git config changelog.opts --no-merges
or:
git config changelog.opts --first-parent
fixes #285
also:
- delay calculating HEAD until needed
- remove extra line before header
2015-02-15 22:40:24 -05:00
Damian Krzeminski
a86d850688
use standard git editor in git-authors & git-changelog
...
The editor used will be chosen from the GIT_EDITOR environment variable,
the core.editor configuration variable, the VISUAL environment variable,
or the EDITOR environment variable (in that order).
That ensures that `git-changelog` and `git-authors` will use the same editor
as `git-commit`, `git-merge` etc.
2015-02-13 17:51:22 -05:00
Riceball LEE
48eb195ee0
+ custom commit message options supports
2015-02-12 17:55:31 +08:00
hemanth.hm
83b9348c91
Merge pull request #300 from chernjie/git-scp
...
git scp - Copy files to SSH compatible `git-remote`.
2015-02-11 13:47:01 +05:30
Richard Littauer
b1a790b851
Added in option to concat extra feature names
...
This takes any extra arguments supplied to `$git feature` and sets
them as the new feature name. For instances, instead of throwing an
error if `$git feature new thing` is called, it will create branch
`feature/new-thing`.
2015-02-10 16:02:39 -08:00
hemanth.hm
ced7ec0c97
Merge pull request #310 from imsky/git-delta
...
Added `git-delta`.
2015-02-10 09:45:54 +05:30
Ivan Malopinsky
e7b371b355
git-delta
2015-02-09 21:09:11 -05:00
wooorm
b0a6d04f9f
Add git-authors
2015-02-07 17:24:21 +01:00
spacewander
32aee50bc6
extra mktemp into git_extra_mktemp
...
now we can put all utility functions to git-extra-utility
2015-02-05 14:22:49 +08:00
Chris Hall
a36b7f4934
adding git-chore
2015-02-04 11:52:23 -05:00
spacewander
e1cedf7fd2
add enough X to fix #303 .
...
GNU mktemp requires at least three X in the last part of template.
2015-02-02 21:35:44 +08:00
wooorm
1199186652
Fix typo in in git ignore message
2015-01-23 11:58:38 +01:00
CJ
195fb17458
symlink git-rscp to git-scp
2015-01-19 12:27:56 +08:00
hemanth.hm
e738f760ae
Avoid duplicating asterisk.
...
Closes https://github.com/tj/git-extras/pull/218
2015-01-18 22:10:39 +05:30
Jon Ander Peñalba
bfd38ca891
When deleting a branch check if git has config.
...
Don't assume that the remote is always origin and that the
remote branch name is the same as the local one
2014-12-17 11:33:09 +01:00
CJ
73d5209743
adapted a more generic, customizable and friendly script
2014-12-16 21:26:18 +08:00
CJ
399073af7b
Copy from git-goth https://github.com/chernjie/git-goth
2014-12-16 20:12:06 +08:00
hemanth.hm
081e14f88f
Merge pull request #226 from tsldh/master
...
Added changelog -c flag to git-release.
2014-12-07 10:49:24 +05:30
David Hartmann
292586d96f
added changelog to release as optional flag
...
- rewrote the flags to contain multiple
- added -c as changelog option
2014-12-06 14:43:34 -05:00
Matthew Avant
7701ba4069
Use mktemp for temporary file creation.
2014-12-04 11:01:40 -08:00
dead-horse
9a9be49b63
make release hook more flexible
2014-12-03 00:57:41 +08:00
Ben Parnell
0b0b688c17
added --no-color to git-delete-merged-branches
2014-12-01 10:20:26 +00:00
hemanth.hm
7b7913fab1
More portable she-bangs.
2014-11-30 17:47:26 +05:30
Dan Jackson
d7d6ff2fed
Use process-specific tmp file and clean up on exit
...
Fixes #279 using the suggestion from @hemanth, with some minor tweaks:
- I kept the leading . because I figured there was a reason it was put there originally.
- Changed the show_cursor method that's called when the process exits (prematurely or naturally) to be show_cursor_and_cleanup, and added a line to it that cleans up the tmp file.
2014-11-26 10:23:54 -08:00
Valérian Galliat
5ee706b585
git-info: POSIX compliance
...
Replace `echo -n` (non-POSIX) with an helper function `echon` echoing a
newline after given expression.
2014-11-26 14:02:29 +01:00
hemanth.hm
53e4f3c89d
Fixes #277
2014-11-21 00:31:43 +05:30
hemanth.hm
e7990ed810
Merge pull request #276 from spacewander/master
...
git-ignore will cd root to find .gitignore.
2014-11-21 00:27:09 +05:30
Hemanth.HM
cb0e56639c
Version bump.
2014-11-18 21:37:03 +05:30
spacewander
0374044790
modify the behavior of git-ignore, now it will cd root to find .gitignore
2014-11-17 21:36:56 +08:00
spacewander
92c34e8e00
add new command 'git root' to show the path to root of repo
2014-11-13 16:12:50 +08:00
hemanth.hm
1748fb29c5
Merge pull request #271 from bohnman/git-rename-tag-fix
...
tag to tags
2014-11-08 11:14:59 +05:30
spacewander
76e0dfef97
replace visionmedia/git-extras to tj/git-extras
...
Although Github reserves the 'visionmedia' user space(a visit to there
will be redirected to 'tj'), it's better to
rename the links from visionmedia/git-extras to tj/git-extras
2014-11-06 17:12:01 +08:00
Ryan Bohn
53efa98c15
changing incorrect reference of tag to tags
2014-11-05 15:29:48 -05:00
Kevin Woo
6d7f10c0c6
added git-locked to check what files have been locked
2014-10-16 20:53:47 -05:00
Guillaume Seren
db0f610bc1
Fix #267 , git-missing did not catch branch name.
...
It was a bug on my setup, the test did no detect the
branch name, so I change:
if [[ $arg != -* ]]; then
by
if [ -n "${arg}" ]; then
According to test man page, -n:
«True if the length of string is non-zero.»
I also added quote and {} around the param,
to prevent bash expension around strange char.
2014-10-14 16:24:18 +02:00
hemanth.hm
3c7d4e67f4
Version 2.1.0
2014-10-13 17:51:54 +05:30
hemanth.hm
e294617d10
Fixes #266
2014-10-13 17:49:34 +05:30
hemanth.hm
daf0c0c048
Merge pull request #263 from Yitsushi/bug/180-does-not-check-out-branch-if-it-already-exists
...
fix #180 and #232 feature|bug|refactor checkout.
2014-10-07 17:27:55 +05:30
Balazs Nadasdi
b9478d64b7
fix #180 and #232 feature|bug|refactor checkout
...
If branch creation in feature|bug|refactor returns a non-zero value
then simply try to switch to branch
2014-10-07 10:57:00 +02:00
Rico Sta. Cruz
ab67327ec0
Implement git-pr
2014-10-07 13:13:19 +08:00
Sasha Khamkov
ccf029dabe
FIX: representation of git-info
...
- fix representation of `git-info` output
$ git info --no-config
Before:
## Remote URLs:\n
origin https://github.com/sanusart/git-extras.git (fetch)
origin https://github.com/sanusart/git-extras.git (push)
upstream https://github.com/visionmedia/git-extras.git (fetch)
upstream https://github.com/visionmedia/git-extras.git (push)\n
## Remote Branches:\n
origin/HEAD -> origin/master
origin/fix_feature_refactor_bug
origin/gh-pages
origin/issue234
origin/master
origin/patch-1
upstream/gh-pages
upstream/master\n
## Local Branches:\n
* master\n
## Most Recent Commit:\n
commit ac18bd16b4
Merge: 68455cf a1b7120
Author: hemanth.hm <hemanth.hm@gmail.com>
Merge pull request #260 from brandondrew/patch-1\n
Type 'git log' for more commits, or 'git show <commit id>' for full commit details.\n
After:
git info --no-config
## Remote URLs:
origin https://github.com/sanusart/git-extras.git (fetch)
origin https://github.com/sanusart/git-extras.git (push)
upstream https://github.com/visionmedia/git-extras.git (fetch)
upstream https://github.com/visionmedia/git-extras.git (push)
## Remote Branches:
origin/HEAD -> origin/master
origin/fix_feature_refactor_bug
origin/gh-pages
origin/issue234
origin/master
origin/patch-1
upstream/gh-pages
upstream/master
## Local Branches:
* master
## Most Recent Commit:
commit ac18bd16b4
Merge: 68455cf a1b7120
Author: hemanth.hm <hemanth.hm@gmail.com>
Merge pull request #260 from brandondrew/patch-1
Type 'git log' for more commits, or 'git show <commit id>' for full commit details.
2014-10-06 21:59:53 +03:00
Sasha Khamkov
293119cf6c
Bump version in bin/git-extras
...
- Bump version to 2.0.0 in `bin/git-extras` to enable updating package
via `git-extras update`
2014-09-21 09:55:56 +03:00
spacewander
5f35004d08
add welcome in git-repl
2014-09-13 20:56:36 +08:00
meza
be5362b025
Added option to specify base
2014-09-11 13:10:01 +01:00
Sasha Khamkov
b94fdd11c2
ADD: git-reset-file
...
Reset single file to HEAD or certain commit-hash
- add git-reset-file
- add respective man files
2014-08-27 10:42:58 +03:00
hemanth.hm
8127f10640
File perms fix.
2014-07-30 17:57:47 +05:30
hemanth.hm
9bc92e65c2
Merge pull request #242 from sanusart/fix_feature_refactor_bug
...
Fix feature|refactor|bug testing argument for string length.
2014-07-25 08:39:48 +05:30
Sasha Khamkov
ba481f35c2
Revert 2 commits to git-changelog
...
- Revert "FIX: check if un-pushed commits". This reverts commit bd80a4e512 .
- Revert "Add check for no changes in the tree (no sub-modules)". This reverts commit f2a41c54b1 .
Resolves #234
2014-07-24 20:57:07 +03:00
Sasha Khamkov
3d8db9dbb9
Fix feature|refactor|bug testing argument for string lenght
...
93d92ae338 (diff-dde525a12e9f5e19)
Seems only works while $2 is quoted, e.g. "$2"
Closes #241
2014-07-24 10:28:51 +03:00
Evan Grim
36596a33b3
Exempt master from deleted branches
...
This is helpful for those who use the `git-flow` branch model and might
be surprised to find that this script deletes their master branch.
2014-07-21 23:05:30 -05:00
Bruno Sutic
b2576adae0
Refactor and improve git squash
...
`git squash` refactor:
- first argument can be a branch or a commit reference
- the `--me` argument is not required anymore
- use `git reset --soft` is squashing on a current branch
- if squashing on master branch, prompt for confirmation
- does not delete provided branch after squashing
- fix bug: if `git merge --squash` command fails, exit script
Update README and man pages.
Fixes #95
Closes #198
2014-07-20 17:33:15 +02:00
Andy
2024744f2b
add git-fork
...
update git-fork to add remotes refs as ssh
change fork source remote name to upstream
add man page for git-fork
2014-07-15 10:11:44 +01:00
Joshua Appelman
04c43430aa
Uses column -t to align summary output in a table.
2014-07-14 16:49:48 +02:00
hemanth.hm
be12410e31
Merge pull request #221 from zlx/feature/git-summary-doc
...
Make line-summary as sub-command.
2014-07-14 20:01:20 +05:30
hemanth.hm
04d9deceb2
Merge pull request #224 from StewartJarod/patch-1
...
Letter spacing in author list.
2014-07-14 19:53:52 +05:30
hemanth.hm
bbcaf7c324
Merge pull request #189 from rhacker/patch-1
...
Add comment for the code.
2014-07-13 20:57:28 +05:30
Sasha Khamkov
bd80a4e512
FIX: check if un-pushed commits
...
- switch the check for un-pushed commits from `diff-index` to more simple check
- still ignores sub-modules
Closes #234
Clarification:
As pointed by @cristiandouce in #234 - my flow was different (and pretty stupid to be honest on some particular project of mine) so some other work flow scenarios was failing to pass.
I still feel such check is needed, because it is still populates Changelog|History files with empty lines if no un-pushed commits exist, so @hemanth merge this one or revert the [619232e ](619232ef86 )
2014-07-11 23:43:12 +03:00
Julio Napurí
08cdb7effb
git-unlock Unlock local files in git repository
2014-07-10 11:27:58 -05:00
Julio Napurí
732ec9638f
git-lock Lock files in git repository
2014-07-10 11:27:57 -05:00
Niklas Fiekas
3bd1b84759
Add git-rebase-patch
2014-07-10 09:54:17 +02:00
hemanth.hm
b200552c90
Merge pull request #181 from zeroDivisible/feature/handle-misspellings
...
git bug|feature|refactor accepts a single argument if not finishing.
2014-07-09 11:13:02 +05:30
hemanth.hm
74acf8cab4
Merge pull request #193 from pzelnip/git-setup-no-overwrite
...
`git-setup` checks for an existing .git in target dir.
2014-07-09 11:01:42 +05:30
hemanth.hm
128bc2d5f8
Merge pull request #183 from chernjie/master
...
`git-create-branch`: use HEAD instead of origin.
2014-07-09 10:58:10 +05:30
hemanth.hm
619232ef86
Merge pull request #220 from sanusart/master
...
Add check for no changes in the tree (no sub-modules)
2014-07-09 10:56:25 +05:30
hemanth.hm
1a6cbf2433
Merge pull request #63 from justone/git_missing
...
Adding `git-missing` command.
2014-07-09 10:48:17 +05:30
hemanth.hm
0353b63e63
Merge pull request #216 from stephenmathieson/fix/changelog-large-versions
...
Changelog formatting for large version numbers.
2014-07-08 08:54:40 +05:30
hemanth.hm
ab5c0364f6
Merge pull request #188 from twolfson/dev/add.multi.delete.squashed
...
Added multi-delete for git-delete-branch and git-delete-tag.
2014-07-07 18:04:11 +05:30
hemanth.hm
47bb6e0f74
Merge pull request #222 from jsipprell/pull/filenames-containing-spaces
...
git-effort handles filenames with whitespace.
2014-07-06 12:36:08 +05:30
hemanth.hm
039bb5c318
Merge pull request #223 from mwoc/master
...
Restoring debian changelog compatibility.
2014-07-06 12:34:21 +05:30
hemanth.hm
a87403b57f
Merge pull request #229 from yggdr/master
...
/usr/bin/env for portability.
2014-07-06 11:55:00 +05:30
eszabpt
698d027a0a
Make git-obliterate work if there are whitespaces in filename
2014-07-04 11:16:17 +02:00
Konstantin Schukraft
e4290dfb32
invoke bash via /usr/bin/env for portability
2014-07-02 09:41:37 +02:00
TJ Holowaychuk
d437418b3c
Release 1.9.1
2014-06-21 21:54:12 -07:00
Patryk Małek
4145f228e4
Fixed git-changelog errors when multiple files match change|history
2014-06-16 16:32:47 +02:00
Patryk Małek
de6463fbee
Fixed git-changelog errors on first usage
2014-06-16 16:27:57 +02:00
Jarod Stewart
374df5cabf
Letter spacing in author list
...
This is a quick fix for the letter spacing for the author list.
2014-05-07 22:58:41 -06:00
Maarten Winter
0687de734c
Use two-space indents for log entry output, so it again is debian changelog compatible (as before commit 1235e4a5)
2014-04-29 10:51:30 +02:00
Jesse Sipprell
1479b9633a
git effort: handle filenames containing whitespace cleanly
2014-04-22 20:21:10 -04:00
soffolk
a4cf7462f0
Add line-summary as an options --line & doc
2014-04-22 21:50:22 +08:00
Sasha Khamkov
f2a41c54b1
Add check for no changes in the tree (no sub-modules)
2014-04-06 00:10:08 +03:00
Stephen Mathieson
fde9d1cd30
Fix changelog formatting for large version numbers
...
This allows for version numbers which require more than 18 characters to
be underlined and pretty. :)
2014-02-24 11:45:42 -05:00
Damian Krzeminski
31bbed4ac8
Add --no-merges option to changelog
...
--no-merges allows for generating changelog without information about
merge commits
2013-12-01 18:18:03 -05:00
TJ Holowaychuk
0faaec7ce9
Merge pull request #199 from tlvince/refactor/git-delete-merged-branches
...
Simplify delete-merged-branches
2013-11-19 08:43:14 -08:00
Nathan Rajlich
519f678938
git-changelog: don't output a trailing space after the date
...
This has been driving me and others crazy for forever.
/cc @guille @MatthewMueller
2013-11-18 16:13:55 -08:00
Tom Vincent
a909c8d20f
Simplify delete-merged-branches
...
This will delete branches merged into the current branch.
This uses `-d` and is therefore safer than the current script (which uses `-D`).
IMO, this mitigates the need to prompt.
2013-10-24 12:06:24 +01:00
Adam Parkin
2b6e35d5eb
Address issue #190 , git-setup should test for existing .git in target directory
...
- now exits with an error message if the target directory already has a .git directory
2013-10-01 13:26:55 -07:00
Dung Quang
62c8243ac5
Add comment for the code
...
I think it's better that we have description in the file.
2013-09-24 09:33:46 +02:00
Todd Wolfson
9b787421e7
Added multi-delete for git-delete-branch and git-delete-tag
...
Correcting typos
Compiled latest documentation
Applying changes from delete-tag to delete-branch for consistency
Removed unnecessary string quotes (thanks `git` ref design) and everything works
Tags are not being found with string concatenation
Updated delete-tag to accept multiple tags
Corrections for delete-branch
Updating docs for delete-tag
Added 'Todd Wolfson' to AUTHORS
Updated documentation for delete-branch
Moved deletions to concatenate strings and delete in one fell swoop
Reworking delete-branch to delete multiple branches in series
2013-09-15 14:40:35 -07:00
CJ
e3320e2671
git-create-branch: bug fix for branch creation use HEAD instead of origin
2013-07-21 12:13:37 +08:00
zeroDivisible
93d92ae338
changed the code for git bug|feature|refactor to only accept single argument when not finishing a bug|feature|refactor. This is an easy solution to avoid misspelings of the word 'finish'
2013-07-18 14:33:41 +01:00
Nate Jones
e5c8d79e66
allow options to be passed through to git log
2013-07-05 15:31:46 -07:00
Nate Jones
63d707c33c
adding git-missing command
2013-07-05 15:31:46 -07:00
TJ Holowaychuk
c45e2b8f5f
Release 1.9.0
2013-06-18 13:45:24 -07:00
TJ Holowaychuk
c136afba67
git-squash: add --me flag to flatten the current branch
2013-06-18 13:44:55 -07:00
Aurélien Scoubeau
ed24416bf7
Make repository_age() "history rewrite safe"
...
Change commit date to author date, so that the repo age doesn't change if history rewriting tools (such as amend, rebase, filter-branch) are used.
2013-06-17 12:56:39 +02:00
soffolk
dbc9fe0be4
modify to count for text file
2013-05-18 17:45:17 +08:00
soffolk
0386eb5bbe
add git-line-summary
2013-05-18 16:02:02 +08:00
TJ Holowaychuk
84855b803d
Release 1.8.0
2013-05-15 10:10:30 -07:00
TJ Holowaychuk
9800b326e5
Merge branch 'master' of github.com:visionmedia/git-extras
2013-05-15 10:01:28 -07:00
TJ Holowaychuk
111f04bb57
Merge pull request #102 from Phally/tag-in-command-line
...
Entering the tag name in the command line with git-changelog
2013-05-15 10:01:22 -07:00
TJ Holowaychuk
a03bb363dd
Merge branch 'master' of github.com:visionmedia/git-extras
2013-05-15 09:59:36 -07:00
TJ Holowaychuk
82cdab83f5
Merge pull request #165 from TheHippo/git-archive-file
...
Git archive file
2013-05-15 09:59:29 -07:00
TJ Holowaychuk
dc52254843
Merge branch 'master' of github.com:visionmedia/git-extras
2013-05-15 09:57:57 -07:00
TJ Holowaychuk
7d2f933945
Merge pull request #168 from js-coder/master
...
git-repl improvements
2013-05-15 09:57:50 -07:00
TJ Holowaychuk
46175a69b9
Merge branch 'master' of github.com:visionmedia/git-extras
2013-03-25 08:24:07 -07:00
TJ Holowaychuk
f6bb7ba042
git-delete-merged-branches: use -D instead of delete-branch
...
too slow
2013-03-25 08:23:57 -07:00
Greg Allen
a79c51c7ad
removed unnecessary git checkout for bug, feature and refactor
2013-03-07 17:44:11 -08:00
Phally
4f55198dca
Added support for a --tag argument to directly set the tag name in the header.
2013-03-03 16:46:32 +01:00
Phally
1235e4a5ad
Added support for multiple arguments in git-changelog.
2013-03-03 16:46:32 +01:00
Florian H
ae5b596117
Execute commands that are already prefixed with git directly
2013-03-03 16:33:11 +01:00
Florian H
ce888d0664
Execute a shell command, if the command is prefixed with !
2013-03-03 16:24:07 +01:00