Re: [PATCH] Falis on commit --amend when already pushed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tomohiro Koana <kntmhr.1221@xxxxxxxxx> writes:

> Thank you for the reply.

Please, do not top-post on this list. Look at how other people write
emails and try to mimick them.

> I've taken a look at the list for small project ideas and our idea was
> on the list,
> which goes to show that what we are working on is reasonable enough :D

You may also want to look at how Mercurial does this. They have a
complete system to classify commits:
https://www.mercurial-scm.org/wiki/Phases

You're not going to do something as ambitious for a school project, but
it may give you hints on what can be done.

> As for the test, we're not sure how to write a test because it
> involves remote branches, so we'd love to have advice on it.

"remote" does not have to be actually remote as in "on another
computer". It can be another repository on the same machine.

Loot at what other tests are doing in t/ (there's a README file there
too). Start with

  cd t/
  ls t*push*.sh

to get examples.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]