File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -112,31 +112,6 @@ feature -- Intiialize Repository
112112 end
113113
114114
115-
116- -- bool push(git_repository *repository)
117- -- {
118- -- // get the remote.
119- -- git_remote* remote = NULL;
120- -- git_remote_lookup( &remote, repository, "origin" );
121-
122- -- // connect to remote
123- -- git_remote_connect( remote, GIT_DIRECTION_PUSH )
124-
125- -- // add a push refspec
126- -- git_remote_add_push( remote, "refs/heads/master:refs/heads/master" );
127-
128- -- // configure options
129- -- git_push_options options;
130- -- git_push_init_options( &options, GIT_PUSH_OPTIONS_VERSION );
131-
132- -- // do the push
133- -- git_remote_upload( remote, NULL, &options );
134-
135- -- git_remote_free( remote );
136- -- return true;
137- -- }
138-
139-
140115feature {NONE } -- Process Arguments
141116
142117
You can’t perform that action at this time.
0 commit comments