git-whistles 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ require 'pathname'
2
2
 
3
3
  module Git
4
4
  module Whistles
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  GEMDIR = Pathname.new(__FILE__).parent.parent.parent
7
7
  end
8
8
  end
data/libexec/git-chop.sh CHANGED
@@ -4,26 +4,6 @@
4
4
  #
5
5
  # Close a feature branch - removing it from local and remote.
6
6
  #
7
- # Copyright (C) 2012 Julien Letessier
8
- #
9
- # Permission is hereby granted, free of charge, to any person obtaining a copy of
10
- # this software and associated documentation files (the "Software"), to deal in
11
- # the Software without restriction, including without limitation the rights to
12
- # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13
- # of the Software, and to permit persons to whom the Software is furnished to do
14
- # so, subject to the following conditions:
15
- #
16
- # The above copyright notice and this permission notice shall be included in all
17
- # copies or substantial portions of the Software.
18
- #
19
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
- # SOFTWARE.
26
- #
27
7
 
28
8
  die() {
29
9
  echo "$@" ; exit 1
@@ -4,26 +4,6 @@
4
4
  #
5
5
  # List branch status and age against an integration branch.
6
6
  #
7
- # Copyright (C) 2012 Julien Letessier
8
- #
9
- # Permission is hereby granted, free of charge, to any person obtaining a copy of
10
- # this software and associated documentation files (the "Software"), to deal in
11
- # the Software without restriction, including without limitation the rights to
12
- # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13
- # of the Software, and to permit persons to whom the Software is furnished to do
14
- # so, subject to the following conditions:
15
- #
16
- # The above copyright notice and this permission notice shall be included in all
17
- # copies or substantial portions of the Software.
18
- #
19
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
- # SOFTWARE.
26
- #
27
7
  PROGNAME=$(basename $0)
28
8
 
29
9
 
@@ -3,38 +3,6 @@
3
3
  # git-merge-po --
4
4
  #
5
5
  # Custom Git merge driver - merges PO files using msgcat(1)
6
- #
7
- # - Add this to your .git/config :
8
- #
9
- # [merge "pofile"]
10
- # name = Gettext merge driver
11
- # driver = git merge-po %O %A %B
12
- #
13
- # - Add this to .gitattributes :
14
- #
15
- # *.po merge=pofile
16
- # *.pot merge=pofile
17
- #
18
- # Copyright (C) 2012 Julien Letessier
19
- #
20
- # Permission is hereby granted, free of charge, to any person obtaining a copy of
21
- # this software and associated documentation files (the "Software"), to deal in
22
- # the Software without restriction, including without limitation the rights to
23
- # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
24
- # of the Software, and to permit persons to whom the Software is furnished to do
25
- # so, subject to the following conditions:
26
- #
27
- # The above copyright notice and this permission notice shall be included in all
28
- # copies or substantial portions of the Software.
29
- #
30
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
- # SOFTWARE.
37
- #
38
6
  #
39
7
  O=$1
40
8
  A=$2
@@ -1,6 +1,9 @@
1
1
  #!/bin/sh
2
-
3
- set -x
2
+ #
3
+ # git-outstanding-features --
4
+ #
5
+ # List merged pull requests.
6
+ #
4
7
 
5
8
  from=${1:-origin/production}
6
9
  to=${2:-production}
@@ -4,26 +4,6 @@
4
4
  #
5
5
  # Push to the stash, checkout, and pop the relevant WIP stash.
6
6
  #
7
- # Copyright (C) 2012 Julien Letessier
8
- #
9
- # Permission is hereby granted, free of charge, to any person obtaining a copy of
10
- # this software and associated documentation files (the "Software"), to deal in
11
- # the Software without restriction, including without limitation the rights to
12
- # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13
- # of the Software, and to permit persons to whom the Software is furnished to do
14
- # so, subject to the following conditions:
15
- #
16
- # The above copyright notice and this permission notice shall be included in all
17
- # copies or substantial portions of the Software.
18
- #
19
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
- # SOFTWARE.
26
- #
27
7
 
28
8
  die() {
29
9
  echo "$@" ; exit 1
@@ -36,7 +16,7 @@ target_branch=$1
36
16
  git stash --include-untracked || die
37
17
  git checkout $target_branch || die
38
18
 
39
- stash=$(git stash list | grep "WIP on ${target_branch}:")
19
+ stash=$(git stash list | grep "WIP on ${target_branch}:" | head -1)
40
20
  stash=${stash%%:*}
41
21
 
42
22
  if test -n "$stash" ; then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-whistles
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Julien Letessier