git-fancy 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/exe/switch-branch +1 -1
- data/lib/git/fancy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0dac16f9d448bc0bd9f79301fd182f1d998c449179b2533394472c8db6eb5e
|
4
|
+
data.tar.gz: d492e7604a9e741959a6c7a8457f640dbcc14ba4c2cb5642843abe54eccaa653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69e20be2ef2619c418ec69ac623997247d304748383a27a9eb7fef900da20d3757fa5ae3e3c8449bf844107fd8be0694aa76b6e446b4145ef0e313db8ce8538
|
7
|
+
data.tar.gz: 3be57b97bb4ec589ddb76bbbca47eda8d99503e869a0a6f0f91322ac57eb3f18c045b6abdbc6973b9613400d7ac811d5c942bdad2ecdcbe1e2b6c00762e8ab9d
|
data/exe/switch-branch
CHANGED
@@ -141,7 +141,7 @@ def select_branch(branches, location: 'local', selected_branch: nil)
|
|
141
141
|
choices = branches.each_with_object({}) do |branch, hash|
|
142
142
|
time = branch.last_accessed ? Time.at(branch.last_accessed).strftime('%y-%m-%d') : nil
|
143
143
|
note = branch.note ? @color.yellow(branch.note) : nil
|
144
|
-
key = [time, branch.name, note].compact.join('
|
144
|
+
key = [time, branch.name, note].compact.join(' → ')
|
145
145
|
hash[key] = branch.name
|
146
146
|
end
|
147
147
|
prompt = TTY::Prompt.new
|
data/lib/git/fancy/version.rb
CHANGED