FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Pushing multiple branches doesn't send enough notifications · Issue #138 · git-commit-notifier/git-commit-notifier · GitHub

Repository navigation

Pushing multiple branches doesn't send enough notifications #138

Open

Description

Committing multiple branches at once means that you only get committed for some of the commits:

To test (from an empty repo, for example):

% touch a; git add a; git commit -m '1st commit'; git push origin master
% git co -b branch1; touch b; git add b; git commit -m '2nd commit'
% git co -b branch2; touch c; git add c; git commit -m '3rd commit'

%git log --oneline --decorate
58063f0 (HEAD, branch2) 3rd commit
6a3481b (branch1) 2nd commit
6f0f108 (origin/master, master) 1st commit

%git push origin branch1 branch2
Subject: [w/branch2][1/1] 3rd commit

So the 2nd commit is ignored.

This is also related to #136:

% git co master; git br -D branch1 branch2; git push origin :branch1 :branch2
% git co -b branch1; touch b; git add b; git commit -m '2nd commit'
% git long --oneline --decorate
* 701c141 (HEAD, branch2, branch1) 2nd commit
* 6f0f108 (origin/master, master) 1st commit

% git push origin branch1 branch2
Subject: [w-bare/branch1][1/1] 2nd commit
Subject: [w-bare/branch2][1/1] 2nd commit

(or no mail at all, if you merge the issue-136 branch).

Activity

  1. akzhan commented on Jun 14, 2012

    Member

    Hm... firstly, I have merged #137.

    Can you add functional specs on your test cases?

    I'll work on another aspect of GCN - reducing memory usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL