[syslinux] newpci branch

Geert Stappers stappers at stappers.nl
Wed Aug 13 16:17:33 PDT 2008


Op 12-Aug-2008 om 11:36 schreef H. Peter Anvin:
> Hello,
> 
> I've created a new branch "newpci" and checked this stuff into it (as 
> well as the rest of the patchset.) 

   git branch     # which branches have I?
   git branch -r  # can I see the new remote branch?
                  # nope
   git fetch      # get new information
   git branch -r  # can I see that remote branch
                  # yes, it is "newpci" and in remote "origin"

   # now create for me also a branch "newpci",
   # and use origin/newpci as starting point
   git branch newpci origin/newpci

   git checkout newpci # switch to that branch

   git branch mynewpci # create a "new pci" branch for me

   git checkout mynewpci # switch to my own new pci branch

   git diff master # will show much output

   git diff newpci # wouldn't show any output ( newpci equals mynewpci )

   echo '/* new last line */' >> com32/include/sys/pci.h

   git diff newpci # will show ...
diff --git a/com32/include/sys/pci.h b/com32/include/sys/pci.h
index 1de095a..ec1786b 100644
--- a/com32/include/sys/pci.h
+++ b/com32/include/sys/pci.h
@@ -121,3 +121,4 @@ int get_name_from_pci_ids(struct pci_domain *pci_domain);
 int get_module_name_from_pci_ids(struct pci_domain *pci_domain);
 
 #endif /* _SYS_PCI_H */
+/* new last line */





More information about the Syslinux mailing list