threads / patch / 43809

patch, 3 partsAdd --reverse to the git-rev-list usage string

Subject: [PATCH 1/3] Add --reverse to the git-rev-list usage string

## tl;dr

3 messages between Feb 28, 2008 and Feb 28, 2008. Diffs are folded; open one to read it.

replies: 2people: 1as markdown or json

Kevin Ballard· Feb 28, 2008, 06:32 UTC · lore
---
I tried to send this a few days ago, but I wasn't subscribed
to the ML at that time and as near as I can tell, the patches
didn't go through.
 builtin-rev-list.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to builtin-rev-list.c +1 −0
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 6f7d5f8..d40ecc0 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -30,6 +30,7 @@ static const char rev_list_usage[] =
 "  ordering output:\n"
 "    --topo-order\n"
 "    --date-order\n"
+"    --reverse\n"
 "  formatting output:\n"
 "    --parents\n"
 "    --objects | --objects-edge\n"
-- 
1.5.4.3.233.g52eaf
Kevin Ballard· Feb 28, 2008, 06:32 UTC · re: Kevin Ballard · lore

[PATCH 2/3] Document the sendemail.smtpserverport config variable

---
 Documentation/git-send-email.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Show changes to Documentation/git-send-email.txt +3 −0
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 336d797..9d0a10c 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -216,6 +216,9 @@ sendemail.chainreplyto::
 sendemail.smtpserver::
 	Default SMTP server to use.
 
+sendemail.smtpserverport::
+	Default SMTP server port to use.
+
 sendemail.smtpuser::
 	Default SMTP-AUTH username.
 
-- 
1.5.4.3.233.g52eaf
Kevin Ballard· Feb 28, 2008, 06:32 UTC · re: Kevin Ballard · lore

[PATCH 3/3] Add test for filter-branch on a subdirectory that's been added and deleted and re-added

---
 t/t7003-filter-branch.sh |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
Show changes to t/t7003-filter-branch.sh +13 −0
diff --git a/t/t7003-filter-branch.sh b/t/t7003-filter-branch.sh
index 868babc..9972343 100755
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
@@ -179,4 +179,17 @@ test_expect_success 'Name needing quotes' '
 
 '
 
+test_expect_success 'Subdirectory filter on non-contiguous folder' '
+	mkdir foo &&
+	touch foo/bar &&
+	git add foo &&
+	git commit -m "Adding foo" &&
+	git rm -r foo &&
+	git commit -m "Removing foo" &&
+	mkdir foo &&
+	touch foo/bar &&
+	git commit -m "Re-adding foo" &&
+	git filter-branch --subdirectory-filter foo
+'
+
 test_done
-- 
1.5.4.3.233.g52eaf

← back to recent threads