[PATCH] Documentation: add instructions to help setup gmail 2FA

2016-05-27 Thread Michael Rappazzo
For those who use two-factor authentication with gmail, git-send-email will not work unless it is setup with an app-specific password. The example for setting up git-send-email for use with gmail will now include information on generating and storing the app-specific password. ---

[PATCH v4 2/2] rev-parse: fix some options when executed from subpath of main tree

2016-05-26 Thread Michael Rappazzo
this to return the proper relative path to the git directory. Related tests marked to expect failure are updated to expect success Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/rev-parse.c | 22 +- t/t1500-rev-parse.sh | 4 ++-- t/t1700-split-in

[PATCH v4 0/2] rev-parse: fix some options when executed from subpath of main tree

2016-05-26 Thread Michael Rappazzo
Changes since v3 [1]: - Rebased onto 'pu' which includes the cleanup of t1500 by Eric Sunshine - Fixed a memory leak due to misusing xstrfmt() [1] http://thread.gmane.org/gmane.comp.version-control.git/293778 Michael Rappazzo (2): rev-parse tests: add tests executed from a subdirectory rev

[PATCH v4 1/2] rev-parse tests: add tests executed from a subdirectory

2016-05-26 Thread Michael Rappazzo
a subdirectory of the main worktree. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t1500-rev-parse.sh | 28 t/t1700-split-index.sh | 17 + t/t2027-worktree-list.sh | 12 ++-- 3 files changed, 55 insertions(+), 2 deletions(-) diff

[PATCH v3 0/2] [PATCH v3 0/2] rev-parse: fix some options when executed from subpath of main tree

2016-05-06 Thread Michael Rappazzo
Differenced from v2[1]: - Rewrote the commits to just two; one that introduces tests, and one which fixes the problem. [1] http://thread.gmane.org/gmane.comp.version-control.git/292272 Michael Rappazzo (2): rev-parse tests: add tests executed from a subdirectory rev-parse: fix some

[PATCH v3 1/2] rev-parse tests: add tests executed from a subdirectory

2016-05-06 Thread Michael Rappazzo
-dir which has been adjusted and marked to expect failure. Some of the tests added have been marked to expect failure. These demonstrate a problem with the way that some options to git rev-parse behave when executed from a subdirectory of the main worktree. Signed-off-by: Michael Rappazzo <ra

[PATCH v3 2/2] rev-parse: fix some options when executed from subpath of main tree

2016-05-06 Thread Michael Rappazzo
this to return the proper relative path to the git directory. Related tests marked to expect failure are updated to expect success Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/rev-parse.c | 19 ++- t/t1500-rev-parse.sh | 4 ++-- t/t1700-split-in

[PATCH v2 4/4] t1700-split-index: add test for rev-parse --shared-index-path

2016-04-22 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t1700-split-index.sh | 17 + 1 file changed, 17 insertions(+) diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh index 8aef49f..d2d9e02 100755 --- a/t/t1700-split-index.sh +++ b/t/t1700-split-index.sh @@

[PATCH v2 0/4] rev-parse: adjust results when they should be relative

2016-04-22 Thread Michael Rappazzo
Differences from v1[1]: - Simplify implementation based on review comments - Included similar changes in rev-parse for --git-path and --shared-index-path - Added tests and separated them into individual commits [1] http://thread.gmane.org/gmane.comp.version-control.git/290669 Michael Rappazzo

[PATCH v2 3/4] t2027-worktree-list: add and adjust tests related to git-rev-parse

2016-04-22 Thread Michael Rappazzo
Adjust the incorrect expectation for `rev-parse --git-common-dir`. Add a test for `git rev-parse --git-path` executed from a linked worktree. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t2027-worktree-list.sh | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

[PATCH v2 2/4] t1500-rev-parse: add tests executed from sub path of the main worktree

2016-04-22 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t1500-rev-parse.sh | 37 + 1 file changed, 37 insertions(+) diff --git a/t/t1500-rev-parse.sh b/t/t1500-rev-parse.sh index 48ee077..1e220f7 100755 --- a/t/t1500-rev-parse.sh +++ b/t/t1500-rev-pa

[PATCH v2 1/4] rev-parse: fix some options when executed from subpath of main tree

2016-04-22 Thread Michael Rappazzo
this to return the proper relative path to the git directory. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/rev-parse.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c index c961b74..1

[PATCH v2 2/2] t1500-rev-parse: rewrite each test to run in isolation

2016-04-16 Thread Michael Rappazzo
been converted to use test_cmp or test_stdout. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t1500-rev-parse.sh | 355 ++- 1 file changed, 295 insertions(+), 60 deletions(-) diff --git a/t/t1500-rev-parse.sh b/t/t1500-rev-parse.sh

[PATCH v2 1/2] test-lib: add a function to compare an expection with stdout from a command

2016-04-16 Thread Michael Rappazzo
test_stdout accepts an expection and a command to execute. It will execute the command and then compare the stdout from that command to an expectation. If the expectation is not met, a mock diff output is written to stderr. Based-on-a-patch-by: Jeff King <p...@peff.net> Signed-off-by: M

[PATCH v2 0/2] t1500-rev-parse: re-write t1500

2016-04-16 Thread Michael Rappazzo
as recommended in the discussion. [1] http://thread.gmane.org/gmane.comp.version-control.git/291087 [2] http://thread.gmane.org/gmane.comp.version-control.git/291087/focus=291475 Michael Rappazzo (2): test-lib: add a function to compare an expection with stdout from a command t1500-rev-parse

[PATCH] rewrite t1500-rev-parse.sh

2016-04-09 Thread Michael Rappazzo
luding this patch as the first commit in the aforementioned bug fix, but I wanted to get it out for review to make sure that it is acceptible. [1]http://thread.gmane.org/gmane.comp.version-control.git/290669 [2]http://article.gmane.org/gmane.comp.version-control.git/287462 Michael Rappazzo (1):

[PATCH] t1500-rev-parse: rewrite each test to run in isolation

2016-04-09 Thread Michael Rappazzo
textual expectations have been converted to use test_cmp (which will show a diff when the test is run with --verbose). Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t1500-rev-parse.sh | 607 +-- 1 file changed, 545 insertions(

[PATCH] rev-parse: fix --git-common-dir when executed from subpath of main tree

2016-04-03 Thread Michael Rappazzo
(similar to `--show-cdup`). Add as test to t1500-rev-parse.sh for this case and adjust another test in t2027-worktree-list.sh to use this expectation. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/rev-parse.c | 14 -- t/t1500-rev-parse.sh

[PATCH v3 2/2] gitk: add an option to enable sorting the "Tags and heads" view by ref type

2016-03-27 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/gitk b/gitk index 3686370..29ef36c 100755 --- a/gitk +++ b/gitk @@ -9944,7 +9944,7 @@ proc reflistfilter_change {n1 n2 op} { }

[PATCH v3 1/2] gitk: alter the ordering for the "Tags and heads" view

2016-03-27 Thread Michael Rappazzo
s. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 60 +++- 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/gitk b/gitk index 805a1c7..3686370 100755 --- a/gitk +++ b/gitk @@ -1772,12 +1772,12 @@ pro

[PATCH v3 0/2] gitk: changes for the "Tags and heads" view

2016-03-27 Thread Michael Rappazzo
]. [1] http://thread.gmane.org/gmane.comp.version-control.git/289244 [2] http://thread.gmane.org/gmane.comp.version-control.git/288544 Michael Rappazzo (2): gitk: alter the ordering for the "Tags and heads" view gitk: add an option to enable sorting the "Tags and heads" view by

[PATCH v2 0/2] gitk: changes for the "Tags and heads" view

2016-03-19 Thread Michael Rappazzo
I found a small bug in the v1 of this patch[1], when a tracked upstream branch is no longer present. The changes are only in the first commit. [1] http://thread.gmane.org/gmane.comp.version-control.git/288544 Michael Rappazzo (2): gitk: alter the ordering for the "Tags and heads" v

[PATCH v2 2/2] gitk: add an option to enable sorting the "Tags and heads" view by ref type

2016-03-19 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gitk b/gitk index d6d3136..6d376e3 100755 --- a/gitk +++ b/gitk @@ -158,6 +158,7 @@ proc parseviewargs {n arglist} { global vdatemode vmer

[PATCH v2 1/2] gitk: alter the ordering for the "Tags and heads" view

2016-03-19 Thread Michael Rappazzo
s. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 48 ++-- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/gitk b/gitk index 5f1255c..d6d3136 100755 --- a/gitk +++ b/gitk @@ -9933,35 +9933,71 @@ proc refill_reflist

[PATCH 1/2] gitk: alter the ordering for the "Tags and heads" view

2016-03-09 Thread Michael Rappazzo
s. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 48 ++-- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/gitk b/gitk index 5f1255c..32fbc50 100755 --- a/gitk +++ b/gitk @@ -9933,35 +9933,71 @@ proc refill_reflist

[PATCH 2/2] gitk: add an option to enable sorting the "Tags and heads" view by ref type

2016-03-09 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- gitk | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gitk b/gitk index 32fbc50..c933233 100755 --- a/gitk +++ b/gitk @@ -158,6 +158,7 @@ proc parseviewargs {n arglist} { global vdatemode vmer

[PATCH 0/2] gitk: alter the ordering for the "Tags and heads" view

2016-03-09 Thread Michael Rappazzo
independently sorted before being put into the main ref list. Also note that the upstream refs are _not_ duplicated in the remote refs list. Michael Rappazzo (2): gitk: alter the ordering for the "Tags and heads" view gitk: add an option to enable sorting the "Tags and head

[PATCH 2/5] ff-refs: update each updatable ref

2015-11-10 Thread Michael Rappazzo
as 'UPDATED'. If it is not successful, the ref is reported as 'UNABLE-TO-UPDATE'. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/ff-refs.c | 40 1 file changed, 40 insertions(+) diff --git a/builtin/ff-refs.c b/builtin/ff-refs.c index 9

[PATCH 5/5] ff-refs: Add tests

2015-11-10 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- t/t7900-ff-refs.sh | 164 + 1 file changed, 164 insertions(+) create mode 100755 t/t7900-ff-refs.sh diff --git a/t/t7900-ff-refs.sh b/t/t7900-ff-refs.sh new file mode 100755

[PATCH 3/5] ff-refs: add --dry-run and --skip-worktree options

2015-11-10 Thread Michael Rappazzo
in a worktree are reported as 'SKIPPED'. With `--dry-run` these are reported 'WOULD-SKIP'. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- builtin/ff-refs.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/builtin/ff-refs.c b/builtin/ff-refs.c index f

[PATCH 4/5] ff-refs: Add documentation

2015-11-10 Thread Michael Rappazzo
Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Documentation/git-ff-refs.txt | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/git-ff-refs.txt diff --git a/Documentation/git-ff-refs.txt b/Documentation/git-ff-re

[PATCH 0/5] ff-refs: builtin command to fast-forward local refs

2015-11-10 Thread Michael Rappazzo
which track upstream remote branches that update often. The intended usage pattern is to run `git-fetch` followed by `git-ff-refs`. Michael Rappazzo (5): ff-refs: builtin cmd to check and fast forward local refs to their upstream ff-refs: update each updatable ref ff-refs: add --dry-run

[PATCH 1/5] ff-refs: builtin cmd to check and fast forward local refs to their upstream

2015-11-10 Thread Michael Rappazzo
- The branch would be fast forwarded REMOTE-MISSING - The branch is tracking an upstream that is not present NON-FAST-FORWARD - The branch has diverged from the upstream Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- .gitignore| 1 + Makefile

[PATCH v10 5/5] worktree: add 'list' command

2015-10-08 Thread Michael Rappazzo
'git worktree list' iterates through the worktree list, and outputs details of the worktree including the path to the worktree, the currently checked out revision and branch, and if the work tree is bare. There is also porcelain format option available. Signed-off-by: Michael Rappazzo <ra

[PATCH v10 1/5] worktree: add top-level worktree.c

2015-10-08 Thread Michael Rappazzo
worktree.c contains functions to work with and get information from worktrees. This introduction moves functions related to worktrees from branch.c into worktree.c Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Makefile| 1 + branch.c

[PATCH v10 3/5] worktree: add a function to get worktree details

2015-10-08 Thread Michael Rappazzo
The worktree structure provided for an individual worktree includes the absolute path of the worktree. The fuction to get the worktree details is a refactor of the find main/linked symref functions. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- worktree.c

[PATCH v10 2/5] worktree: refactor find_linked_symref function

2015-10-08 Thread Michael Rappazzo
Refactoring will help transition this code to provide additional useful worktree functions. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- worktree.c | 96 -- 1 file changed, 69 insertions(+), 27 deletions(-) diff

[PATCH v10 4/5] worktree: add details to the worktree struct

2015-10-08 Thread Michael Rappazzo
In addition to the absolute path in the worktree struct, add the location of the git dir, the head ref (if not detached), the head revision sha1, whether or not head is detached, and whether or not the worktree is a bare repo. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- work

[PATCH v9 4/5] worktree: add details to the worktree struct

2015-10-02 Thread Michael Rappazzo
In addition to the absolute path in the worktree struct, add the location of the git dir, the head ref (if not detached), the head revision sha1, whether or not head is detached, and whether or not the worktree is a bare repo. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- work

[PATCH v9 1/5] worktree: add top-level worktree.c

2015-10-02 Thread Michael Rappazzo
worktree.c contains functions to work with and get information from worktrees. This introduction moves functions related to worktrees from branch.c into worktree.c Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Makefile| 1 + branch.c

[PATCH v9 0/5] worktree: list functions and command

2015-10-02 Thread Michael Rappazzo
[1]: http://thread.gmane.org/gmane.comp.version-control.git/278190 Michael Rappazzo (5): worktree: add top-level worktree.c worktree: refactor find_linked_symref function worktree: add a function to get worktree details worktree: add details to the worktree struct worktree: add 'list

[PATCH v9 3/5] worktree: add a function to get worktree details

2015-10-02 Thread Michael Rappazzo
The worktree structure provided for an individual worktree includes the absolute path of the worktree. The fuction to get the worktree details is a refactor of the find main/linked symref functions. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- worktree.c

[PATCH v9 2/5] worktree: refactor find_linked_symref function

2015-10-02 Thread Michael Rappazzo
Refactoring will help transition this code to provide additional useful worktree functions. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- worktree.c | 94 -- 1 file changed, 67 insertions(+), 27 deletions(-) diff

[PATCH v9 5/5] worktree: add 'list' command

2015-10-02 Thread Michael Rappazzo
'git worktree list' iterates through the worktree list, and outputs details of the worktree including the path to the worktree, the currently checked out revision and branch, and if the work tree is bare. There is also porcelain format option available. Signed-off-by: Michael Rappazzo <ra

[PATCH v8 3/4] worktree: add functions to get worktree details

2015-09-18 Thread Michael Rappazzo
The worktree structure provided for an individual worktree includes the absolute path, the location of the git dir, the head ref (if not detached), the head revision sha1, whether or not head is detached, and whether or not the worktree is a bare repo. Signed-off-by: Michael Rappazzo <ra

[PATCH v8 4/4] worktree: add 'list' command

2015-09-18 Thread Michael Rappazzo
'git worktree list' iterates through the worktree list, and outputs details of the worktree including the path to the worktree, the currently checked out revision and branch, and if the work tree is bare. There is also porcelain format option available. Signed-off-by: Michael Rappazzo <ra

[PATCH v8 0/4] worktree: list functions and command

2015-09-18 Thread Michael Rappazzo
/git/git/compare/master...rappazzo:worktree-list/v8/next-entry-in-worktree Michael Rappazzo (4): worktree: add top-level worktree.c worktree: refactor find_linked_symref function worktree: add functions to get worktree details worktree: add 'list' command Documentation/git-worktree.txt

[PATCH v8 1/4] worktree: add top-level worktree.c

2015-09-18 Thread Michael Rappazzo
worktree.c contains functions to work with and get information from worktrees. This introduction moves functions related to worktrees from branch.c into worktree.c Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Makefile| 1 + branch.c

[PATCH v8 2/4] worktree: refactor find_linked_symref function

2015-09-18 Thread Michael Rappazzo
Refactoring will help transition this code to provide additional useful worktree functions. Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- worktree.c | 86 ++ 1 file changed, 64 insertions(+), 22 deletions(-) diff

[PATCH v7 1/3] worktree: add top-level worktree.c

2015-09-04 Thread Michael Rappazzo
Including functions to get the list of all worktrees, and to get a specific worktree (primary or linked). Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Makefile | 1 + worktree.c | 157 + worktree.h

[PATCH v7 3/3] worktree: add 'list' command

2015-09-04 Thread Michael Rappazzo
decorate bare worktrees Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- Documentation/git-worktree.txt | 10 +++- builtin/worktree.c | 63 + t/t2027-worktree-list.sh | 122 + 3 files changed, 194 inse

[PATCH v7 2/3] worktree: move/refactor find_shared_symref from branch.c

2015-09-04 Thread Michael Rappazzo
The code formerly in branch.c was largely the basis of the get_worktree_list implementation is now moved to worktree.c, and the find_shared_symref implementation has been refactored to use get_worktree_list Signed-off-by: Michael Rappazzo <rappa...@gmail.com> --- branch.c

[PATCH v7 0/3] worktree: worktree.c functions and list builtin command

2015-09-04 Thread Michael Rappazzo
This series represents a major rewrite of the previous series. It introduces a top-level worktree.c which includes `get_worktree_list` and `get_worktree` functions, and it also moves the `find_shared_symref` from branch.c to worktree.c Michael Rappazzo (3): worktree: add top-level worktree.c

[PATCH v6 1/2] worktree: add 'for_each_worktree' function

2015-08-30 Thread Michael Rappazzo
is returned from the for_each_worktree function. Signed-off-by: Michael Rappazzo rappa...@gmail.com --- builtin/worktree.c | 83 ++ 1 file changed, 83 insertions(+) diff --git a/builtin/worktree.c b/builtin/worktree.c index 430b51e..7b3cb96

[PATCH v6 2/2] worktree: add 'list' command

2015-08-30 Thread Michael Rappazzo
'git worktree list' uses the for_each_worktree function to iterate, and outputs the worktree dir. With the verbose option set, it also shows the branch or revision currently checked out in that worktree. Signed-off-by: Michael Rappazzo rappa...@gmail.com --- Documentation/git-worktree.txt | 10

[PATCH v6 0/2] worktree: for-each function and list command

2015-08-30 Thread Michael Rappazzo
Changes since v5: - used already existing functions instead of reimplementing: - resolve_ref_unsafe - find_unique_abbrev - shorten_unambiguous_ref - added more tests for 'worktree list' Michael Rappazzo (2): worktree: add 'for_each_worktree' function worktree: add 'list

[PATCH v5 0/2] Worktree: for-each function and list command

2015-08-22 Thread Michael Rappazzo
()` returns false. The worktree_path also needs to the /.git removed from it. Therefore, I opted to keep the code like this. Michael Rappazzo (2): worktree: add 'for_each_worktree' function worktree: add 'list' command Documentation/git-worktree.txt | 11 +++- builtin/worktree.c

[PATCH v5 2/2] worktree: add 'list' command

2015-08-22 Thread Michael Rappazzo
'git worktree list' uses the for_each_worktree function to iterate, and outputs in the format: 'worktree (short-ref)' Signed-off-by: Michael Rappazzo rappa...@gmail.com --- Documentation/git-worktree.txt | 11 +- builtin/worktree.c | 55 t/t2027

[PATCH v5 1/2] worktree: add 'for_each_worktree' function

2015-08-22 Thread Michael Rappazzo
is returned from the for_each_worktree function. Signed-off-by: Michael Rappazzo rappa...@gmail.com --- builtin/worktree.c | 83 ++ 1 file changed, 83 insertions(+) diff --git a/builtin/worktree.c b/builtin/worktree.c index 430b51e..7b3cb96

[PATCH 0/2 v4] worktree: for_each_worktree and list

2015-08-13 Thread Michael Rappazzo
is NOT included in the iterated worktrees Michael Rappazzo (2): worktree: add 'for_each_worktree' function worktree: add 'list' command Documentation/git-worktree.txt | 11 +++- builtin/worktree.c | 139 + t/t2027-worktree-list.sh

[PATCH 2/2 v4] worktree: add 'list' command

2015-08-13 Thread Michael Rappazzo
'git worktree list' uses the for_each_worktree function to iterate, and outputs in the format: 'worktree (short-ref)' Signed-off-by: Michael Rappazzo rappa...@gmail.com --- Documentation/git-worktree.txt | 11 - builtin/worktree.c | 55

[PATCH 1/2 v4] worktree: add 'for_each_worktree' function

2015-08-13 Thread Michael Rappazzo
is returned from the for_each_worktree function. Signed-off-by: Michael Rappazzo rappa...@gmail.com --- builtin/worktree.c | 84 ++ 1 file changed, 84 insertions(+) diff --git a/builtin/worktree.c b/builtin/worktree.c index 430b51e..a43e360

[PATCH v3] worktree: add 'list' command

2015-08-10 Thread Michael Rappazzo
Differences from [v2](http://www.mail-archive.com/git@vger.kernel.org/msg75467.html) - removed unintended whitespace changes - cleanup based on comments from v2 Michael Rappazzo (1): worktree: add 'list' command Documentation/git-worktree.txt | 6 +++- builtin/worktree.c

[PATCH v3] worktree: add 'list' command

2015-08-10 Thread Michael Rappazzo
'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. Signed-off-by: Michael Rappazzo rappa...@gmail.com --- Documentation/git-worktree.txt | 6 +++- builtin/worktree.c | 67

[PATCH] worktree: list operation

2015-08-08 Thread Michael Rappazzo
I am attempting to add the 'git worktree list' command. I don't have a lot of c experience, so please double check that I am not missing something important. Michael Rappazzo (1): worktree: list operation Documentation/git-worktree.txt | 9 - builtin/worktree.c | 80

[PATCH] worktree: list operation

2015-08-08 Thread Michael Rappazzo
'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. The option '--main-only' will restrict the list to only the main worktree. --- Documentation/git-worktree.txt | 9 - builtin/worktree.c | 80

[PATCH v2] worktree: list operation

2015-08-08 Thread Michael Rappazzo
I am attempting to add the 'git worktree list' command. I don't have a lot of c experience, so please double check that I am not missing something important. Sorry about publishing the first version too soon. Michael Rappazzo (1): worktree: list operation Documentation/git-worktree.txt

[PATCH v2] worktree: list operation

2015-08-08 Thread Michael Rappazzo
'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. The option '--main-only' will restrict the list to only the main worktree. --- Documentation/git-worktree.txt | 9 - builtin/worktree.c | 84

[PATCH] mergetools: add config option to disable auto-merge

2015-06-16 Thread Michael Rappazzo
For some mergetools, the current invocation of git mergetool will include an auto-merge flag. By default the flag is included, however if the git config option 'merge.automerge' is set to 'false', then that flag will now be omitted. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH] mergetools: add config option to disable auto-merge

2015-06-16 Thread Michael Rappazzo
During conflict resolution, invoking a mergetool which supports auto-merge will pass that option by default to the underlying tool. This patch is intended to allow one to set 'merge.automerge' to 'false' in order to override this behavior. Michael Rappazzo (1): mergetools: add config option

[PATCH v5] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-13 Thread Michael Rappazzo
Difference between v4 and v5 of this patch: - added documention in Documentation/config.txt - renamed the new auto-rebase w/ config test to be less inaccurate Apologies for this, I should have caught these before. Michael Rappazzo (1): git-rebase--interactive.sh: add config option

[PATCH v5] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-13 Thread Michael Rappazzo
A config option 'rebase.instructionFormat' can override the default 'oneline' format of the rebase instruction list. Since the list is parsed using the left, right or boundary mark plus the sha1, they are prepended to the instruction format. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH v4] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-11 Thread Michael Rappazzo
Difference between v3 and v4 of this patch: - cleaned up changes in rearrange_squash() function - consolidated autosquash test Michael Rappazzo (1): git-rebase--interactive.sh: add config option for custom instruction format Documentation/git-rebase.txt | 7 +++ git-rebase

[PATCH v4] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-11 Thread Michael Rappazzo
A config option 'rebase.instructionFormat' can override the default 'oneline' format of the rebase instruction list. Since the list is parsed using the left, right or boundary mark plus the sha1, they are prepended to the instruction format. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-10 Thread Michael Rappazzo
A config option 'rebase.instructionFormat' can override the default 'oneline' format of the rebase instruction list. Since the list is parsed using the left, right or boundary mark plus the sha1, they are prepended to the instruction format. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH v3] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-10 Thread Michael Rappazzo
Difference between v2 and v3 of this patch: - Fixed autosquash - Added documentation on the config options - Added two tests to t3414 (rebase-autosquash) Michael Rappazzo (1): git-rebase--interactive.sh: add config option for custom instruction format Documentation/git

[PATCH v2] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-08 Thread Michael Rappazzo
Difference between v1 and v2 of this patch: - Fixed indentation from spaces to match the existing style - Changed the prepended sha1 from short (%h) to long (%H) - Used bash variable default when the config option is not present Michael Rappazzo (1): git-rebase--interactive.sh: add

[PATCH v2] git-rebase--interactive.sh: add config option for custom instruction format

2015-06-08 Thread Michael Rappazzo
A config option 'rebase.instructionFormat' can override the default 'oneline' format of the rebase instruction list. Since the list is parsed using the left, right or boundary mark plus the sha1, they are prepended to the instruction format. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH] git-rebase--interactive.sh: add config option for custom

2015-06-07 Thread Michael Rappazzo
A config option 'rebase.instructionFormat' can override the default 'oneline' format of the rebase instruction list. Since the list is parsed using the left, right or boundary mark plus the sha1, they are prepended to the instruction format. Signed-off-by: Michael Rappazzo rappa...@gmail.com

[PATCH] gitk: Alter the ordering for the Tags and heads view

2015-06-02 Thread Michael Rappazzo
In the Tags and heads view, the list of refs is globally sorted. The list of local refs (heads) is separated by the remote refs. This change re-orders the view toi be: local refs, remote refs tracked by local refs, remote refs, tags, and then other refs Signed-off-by: Michael Rappazzo rappa

[PATCH] gitk: Alter the ordering for the Tags and heads view

2015-06-02 Thread Michael Rappazzo
list. Also note that the upstream refs are _not_ duplicated in the remote refs list. Michael Rappazzo (1): gitk: Alter the ordering for the Tags and heads view gitk-git/gitk | 48 ++-- 1 file changed, 42 insertions(+), 6 deletions(-) -- 2.4.2