some git usage related queries
Saifi Khan
saifi.khan at datasynergy.org
Sun Nov 8 22:21:29 PST 2009
On Sun, 8 Nov 2009, Peter Avalos wrote:
> On Mon, Nov 09, 2009 at 09:17:58AM +0530, Saifi Khan wrote:
> >
> > While studying the recent commits related to mandoc(1), there
> > are two very similar commits:
> >
> > 1. Sascha's mandoc(1) commits (Nov 7)
> > 54 files changed, 1349 insertions(+), 730 deletions(-)
> > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0dd4f1472251d685486367a185d3b9d78062f84d
> >
> > 2. Alexander's mandoc(1) commits (Nov 8)
> > 54 files changed, 1349 insertions(+), 730 deletions(-)
> > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32c903ac153404697d03cdf54825a041b54dd714
> >
> > How do i see what are the changes between the two ?
> >
>
> git diff 0dd4f1472251d685486367a185d3b9d78062f84d..32c903ac153404697d03cdf54825a041b54dd714
>
> I'm not sure what Alexander did to cause that. Was there a git push -f
> involved?
>
Thank you Peter for your reply.
Yes, i also ran the same command, but it gives an error 'invalid
revision range'.
Please see the entire log below.
--
Script started on Mon Nov 9 10:54:04 2009
$pwd
/usr/home/saifi/workarea/dragonfly
$ls
COPYRIGHT bin/ cscope.po.out lib/ sys/
Makefile contrib/ etc/ libexec/ tags
Makefile.inc1 crypto/ g.log nrelease/ test/
Makefile_upgrade.inc cscope.files games/ sbin/ tools/
README cscope.in.out gnu/ secure/ usr.bin/
UPDATING cscope.out include/ share/ usr.sbin/
$git pull -v
git://chlamydia.fs.ei.tum.de/dragonfly
= [up to date] DragonFly_RELEASE_1_10 -> origin/DragonFly_RELEASE_1_10
= [up to date] DragonFly_RELEASE_1_12 -> origin/DragonFly_RELEASE_1_12
= [up to date] DragonFly_RELEASE_1_2 -> origin/DragonFly_RELEASE_1_2
= [up to date] DragonFly_RELEASE_1_4 -> origin/DragonFly_RELEASE_1_4
= [up to date] DragonFly_RELEASE_1_6 -> origin/DragonFly_RELEASE_1_6
= [up to date] DragonFly_RELEASE_1_8 -> origin/DragonFly_RELEASE_1_8
= [up to date] DragonFly_RELEASE_2_0 -> origin/DragonFly_RELEASE_2_0
= [up to date] DragonFly_RELEASE_2_2 -> origin/DragonFly_RELEASE_2_2
= [up to date] DragonFly_RELEASE_2_4 -> origin/DragonFly_RELEASE_2_4
= [up to date] doc -> origin/doc
= [up to date] master -> origin/master
= [up to date] netmp -> origin/netmp
= [up to date] repo/hooks -> origin/repo/hooks
= [up to date] site -> origin/site
= [up to date] vendor/ACPICA-UNIX -> origin/vendor/ACPICA-UNIX
= [up to date] vendor/ATHEROS -> origin/vendor/ATHEROS
= [up to date] vendor/AWK -> origin/vendor/AWK
= [up to date] vendor/BIND -> origin/vendor/BIND
= [up to date] vendor/BINUTILS -> origin/vendor/BINUTILS
= [up to date] vendor/BINUTILS220 -> origin/vendor/BINUTILS220
= [up to date] vendor/BSDINSTALLER -> origin/vendor/BSDINSTALLER
= [up to date] vendor/BSDTAR -> origin/vendor/BSDTAR
= [up to date] vendor/BZIP -> origin/vendor/BZIP
= [up to date] vendor/CVS -> origin/vendor/CVS
= [up to date] vendor/DHCP -> origin/vendor/DHCP
= [up to date] vendor/DIFFUTILS -> origin/vendor/DIFFUTILS
= [up to date] vendor/FILE -> origin/vendor/FILE
= [up to date] vendor/GCC -> origin/vendor/GCC
= [up to date] vendor/GCC44 -> origin/vendor/GCC44
= [up to date] vendor/GDB -> origin/vendor/GDB
= [up to date] vendor/GDTOA -> origin/vendor/GDTOA
= [up to date] vendor/GMP -> origin/vendor/GMP
= [up to date] vendor/GPERF -> origin/vendor/GPERF
= [up to date] vendor/GROFF -> origin/vendor/GROFF
= [up to date] vendor/HEIMDAL -> origin/vendor/HEIMDAL
= [up to date] vendor/HOSTAPD -> origin/vendor/HOSTAPD
= [up to date] vendor/INTEL_ACPICA -> origin/vendor/INTEL_ACPICA
= [up to date] vendor/LESS -> origin/vendor/LESS
= [up to date] vendor/LIBARCHIVE -> origin/vendor/LIBARCHIVE
= [up to date] vendor/LIBEVENT -> origin/vendor/LIBEVENT
= [up to date] vendor/LIBPCAP -> origin/vendor/LIBPCAP
= [up to date] vendor/LIBSTDC++ -> origin/vendor/LIBSTDC++
= [up to date] vendor/LUKEMFTP -> origin/vendor/LUKEMFTP
= [up to date] vendor/MPFR -> origin/vendor/MPFR
= [up to date] vendor/NCURSES -> origin/vendor/NCURSES
= [up to date] vendor/NETGRAPH -> origin/vendor/NETGRAPH
= [up to date] vendor/NTPD -> origin/vendor/NTPD
= [up to date] vendor/OPENPAM -> origin/vendor/OPENPAM
= [up to date] vendor/OPENSSH -> origin/vendor/OPENSSH
= [up to date] vendor/OPENSSL -> origin/vendor/OPENSSL
= [up to date] vendor/PAM_PASSWDQC -> origin/vendor/PAM_PASSWDQC
= [up to date] vendor/READLINE -> origin/vendor/READLINE
= [up to date] vendor/SENDMAIL -> origin/vendor/SENDMAIL
= [up to date] vendor/TCPDUMP -> origin/vendor/TCPDUMP
= [up to date] vendor/TCSH -> origin/vendor/TCSH
= [up to date] vendor/TEXINFO -> origin/vendor/TEXINFO
= [up to date] vendor/TNFTP -> origin/vendor/TNFTP
= [up to date] vendor/WPA_SUPPLICANT -> origin/vendor/WPA_SUPPLICANT
= [up to date] vendor/ZLIB -> origin/vendor/ZLIB
Already up-to-date.
$git diff 0dd4f1472251d685486367a185d3b9d78062f84d..32c903ac153404697d03cdf54825a041b54dd714
fatal: Invalid revision range 0dd4f1472251d685486367a185d3b9d78062f84d..32c903ac153404697d03cdf54825a041b54dd714
$exit
exit
Script done on Mon Nov 9 10:54:39 2009
--
thanks
Saifi.
More information about the Users
mailing list