Jump to content
  • 0

An cabalistic doubt about rAgit and commits.


Tales

Question


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

When someone send a new commit, he will use the latest with reference?

I hope so ...

Edited by Tales
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

hmm, not quite sure about what your question is.

 

if people typed "git commit", it is kept as-is and is knowledge to be "OK" by the local git client. while committing, users need to enter their comment there.

if people typed "git push", then it will send all changes to the server. OTHERWISE, server ( https://github.com/rathena ) is (of course) allowed and MUST to reject any pushes from people who are not registered as the developer of rAthena.

 

while committing, users are ought to enter the comment on what they have done, alongside with the name of the modified files

 

does this answer your question. maybe?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  


This give me a additional info about GIT. But dont solve my doubt...

Let me explain it...

Get the latest rAthena Git ( with 12.179 commits)

If one contributor make a modification in GIT he'll add a modification with the latest 12.179 commits?

Other way... supposing that an new contributor make a change on pc.c that a old contributor does in the commit 12.179 the current contributor will modify with the lastest or they uses different branches?

 

I say all it because when i update my git, some modifications cannot be found because dont exists on my git.

 

 

Sorry for kill the English.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

If one contributor make a modification in GIT he'll add a modification with the latest 12.179 commits?
>> yes
 
Other way... supposing that an new contributor make a change on pc.c that a old contributor does in the commit 12.179 the current contributor will modify with the lastest or they uses different branches?
>> I would say, when the current contributor pushes the changes, GIT will tell him that the file was already modified.
e.g:
pc.c's version is 1.0.0. then, Contributor A made changes.
during the same time, Contributor B has changed pc.c AND pushed it.
server will keep note on the version, changing it to 1.0.1 (or whatever)
then, when Contributor A do GIT PUSH, GIT will check the original file, if it is the same or not. since Contrib A's pc.c version is 1.0.0 and the one on server is already 1.0.1, Contributor A's push will be declined and he will be notified.
 

Usually, "git push" refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it.
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

You is the man!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Thanks!

 

are*

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...