Skip to content

Commit f2561fd

Browse files
Mike McCormackJunio C Hamano
authored andcommitted
Add git-imap-send, derived from isync 1.0.1.
git-imap-send drops a patch series generated by git-format-patch into an IMAP folder. This allows patch submitters to send patches through their own mail program. git-imap-send uses the following values from the GIT repository configuration: The target IMAP folder: [imap] Folder = "INBOX.Drafts" A command to open an ssh tunnel to the imap mail server. [imap] Tunnel = "ssh -q [email protected] /usr/bin/imapd ./Maildir 2> /dev/null" [imap] Host = imap.server.com User = bob Password = pwd Port = 143
1 parent 2d0048e commit f2561fd

File tree

3 files changed

+1362
-1
lines changed

3 files changed

+1362
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ git-grep
4242
git-hash-object
4343
git-http-fetch
4444
git-http-push
45+
git-imap-send
4546
git-index-pack
4647
git-init-db
4748
git-local-fetch

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ PROGRAMS = \
165165
git-upload-pack$X git-verify-pack$X git-write-tree$X \
166166
git-update-ref$X git-symbolic-ref$X git-check-ref-format$X \
167167
git-name-rev$X git-pack-redundant$X git-repo-config$X git-var$X \
168-
git-describe$X git-merge-tree$X git-blame$X
168+
git-describe$X git-merge-tree$X git-blame$X git-imap-send$X
169169

170170
# what 'all' will build and 'install' will install, in gitexecdir
171171
ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS)
@@ -525,6 +525,8 @@ git-ssh-upload$X: rsh.o
525525
git-ssh-pull$X: rsh.o fetch.o
526526
git-ssh-push$X: rsh.o
527527

528+
git-imap-send$X: imap-send.o $(LIB_FILE)
529+
528530
git-http-fetch$X: fetch.o http.o http-fetch.o $(LIB_FILE)
529531
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
530532
$(LIBS) $(CURL_LIBCURL)

0 commit comments

Comments
 (0)